Is it feasible to build a central "Text editor settings" control module?
Suggestions
Your code is correct strumelia. To get rid of the paragraph, remove the 'formatselect'.
Here is your code with that removed:
{jrCore_module_url module="jrCore" assign="murl"}
{jrCore_module_url module="jrImage" assign="imurl"}
tinymce.init({
setup: function(ed) {
var mce_body_fs = $('body').width();
ed.on('FullscreenStateChanged', function(e) {
if (e.state === true) { $('.form_editor_holder .mce-fullscreen').width(mce_body_fs); }
else {
$('.form_editor_holder .mce-panel').css('width','');
}
});
},
{if jrCore_is_mobile_device() && !jrCore_is_tablet_device()}
mobile: { theme: 'mobile' },
{/if}
body_id: "{$form_editor_id}",
branding: false,
content_css: "{$jamroom_url}/{$murl}/css/{$murl}/jrCore_tinymce.css?v={$_mods.jrCore.module_updated}",
images_upload_url: "{$jamroom_url}/{$imurl}/tinymce_imagetools",
valid_elements : '*[*]',
toolbar_items_size : "small",
element_format: "html",
fontsize_formats: "8pt 10pt 12pt 14pt 18pt 24pt 36pt",
autoresize_bottom_margin: "3",
keep_styles: false,
theme: "{$theme}",
selector: "textarea#{$form_editor_id}",
relative_urls: false,
remove_script_host: false,
convert_fonts_to_spans: true,
menubar: false,
statusbar: false,
paste_auto_cleanup_on_paste : true,
paste_remove_styles: true,
paste_remove_styles_if_webkit: true,
paste_strip_class_attributes: true,
entity_encoding: "raw",
height: "100%",
image_advtab: true,
browser_spellcheck: true,
{if $table} table_toolbar: "tableprops tabledelete | tableinsertrowbefore tableinsertrowafter tabledeleterow | tableinsertcolbefore tableinsertcolafter tabledeletecol | tablecellprops tablesplitcells tablemergecells",{/if}
{if $script}
extended_valid_elements: "script[type|defer|src|language]",
{/if}
plugins: "lists,imagetools,pagebreak,{if $jrsmiley}jrsmiley,{/if}{if $jrembed}jrembed,media{/if},image,autoresize,{if $table}table,{/if}link,code,fullscreen,textcolor,colorpicker,preview{if $hr},hr{/if},tabindex,paste,anchor",
toolbar1: "removeformat | fontselect fontsizeselect forecolor {if $strong} bold{/if}{if $em} italic{/if}{if $span} underline{/if} removeformat | {if $span || $div} alignleft{/if}{if $span || $div} aligncenter{/if}{if $span || $div} alignright{/if}{if $span || $div} alignjustify |{/if}{if $ul || $ol || $li}{if $ul || $li} bullist{/if}{if $ol} numlist{/if} |{/if}{if $div} outdent indent |{/if} undo redo | link unlink anchor pagebreak{if $table} table{/if}{if $hr} hr{/if} | code preview fullscreen{if $jrembed || $jrsmiley} |{/if}{if $jrembed} jrembed{/if}{if $jrsmiley} jrsmiley{/if}"
});
If its not showing up, my guess is you're editing the wrong template.
If you're editing
ACP -> MODULES -> CORE -> SYSTEM CORE -> TEMPLATES -> form_editor.tpl
and its not working, then check for an override at:
ACP -> SKINS -> YOUR SKIN -> TEMPLATES -> jrCore_form_editor.tpl