Sha256: 450473ffd8af60bbf15f01a2179ae7383c6f3ac7e6286518bb94ae0e2a0073fb

Contents?: true

Size: 1.44 KB

Versions: 30

Compression:

Stored size: 1.44 KB

Contents

!function(e){e.on("AddEditor",function(e){e.editor.settings.inline_styles=!1}),e.PluginManager.add("legacyoutput",function(t){t.on("init",function(){var n="p,h1,h2,h3,h4,h5,h6,td,th,div,ul,ol,li,table,img",i=e.explode(t.settings.font_size_style_values),o=t.schema;t.formatter.register({alignleft:{selector:n,attributes:{align:"left"}},aligncenter:{selector:n,attributes:{align:"center"}},alignright:{selector:n,attributes:{align:"right"}},alignjustify:{selector:n,attributes:{align:"justify"}},bold:[{inline:"b",remove:"all"},{inline:"strong",remove:"all"},{inline:"span",styles:{fontWeight:"bold"}}],italic:[{inline:"i",remove:"all"},{inline:"em",remove:"all"},{inline:"span",styles:{fontStyle:"italic"}}],underline:[{inline:"u",remove:"all"},{inline:"span",styles:{textDecoration:"underline"},exact:!0}],strikethrough:[{inline:"strike",remove:"all"},{inline:"span",styles:{textDecoration:"line-through"},exact:!0}],fontname:{inline:"font",attributes:{face:"%value"}},fontsize:{inline:"font",attributes:{size:function(t){return e.inArray(i,t.value)+1}}},forecolor:{inline:"font",attributes:{color:"%value"}},hilitecolor:{inline:"font",styles:{backgroundColor:"%value"}}}),e.each("b,i,u,strike".split(","),function(e){o.addValidElements(e+"[*]")}),o.getElementRule("font")||o.addValidElements("font[face|size|color|style]"),e.each(n.split(","),function(e){var t=o.getElementRule(e);t&&(t.attributes.align||(t.attributes.align={},t.attributesOrder.push("align")))})})})}(tinymce);

Version data entries

30 entries across 30 versions & 4 rubygems

Version Path
it-logica-application-backbone-1.5.3 app/assets/javascripts/backbone_js/tinymce/jscripts/tiny_mce/plugins/legacyoutput/plugin.min.js
it-logica-application-backbone-1.5.2 app/assets/javascripts/backbone_js/tinymce/jscripts/tiny_mce/plugins/legacyoutput/plugin.min.js
it-logica-application-backbone-1.5.1 app/assets/javascripts/backbone_js/tinymce/jscripts/tiny_mce/plugins/legacyoutput/plugin.min.js
it-logica-application-backbone-1.5.0 app/assets/javascripts/backbone_js/tinymce/jscripts/tiny_mce/plugins/legacyoutput/plugin.min.js
it-logica-application-backbone-1.4.12 app/assets/javascripts/backbone_js/tinymce/jscripts/tiny_mce/plugins/legacyoutput/plugin.min.js
use_tinymce-0.1.1 assets/tinymce_jquery_4_0_2/tinymce/js/tinymce/plugins/legacyoutput/plugin.min.js
use_tinymce-0.0.17 assets/tinymce_jquery_4_0_2/tinymce/js/tinymce/plugins/legacyoutput/plugin.min.js
use_tinymce-0.0.16 assets/tinymce_jquery_4_0_2/tinymce/js/tinymce/plugins/legacyoutput/plugin.min.js
it-logica-application-backbone-1.4.11 app/assets/javascripts/backbone_js/tinymce/jscripts/tiny_mce/plugins/legacyoutput/plugin.min.js
it-logica-application-backbone-1.4.10 app/assets/javascripts/backbone_js/tinymce/jscripts/tiny_mce/plugins/legacyoutput/plugin.min.js
it-logica-application-backbone-1.4.9 app/assets/javascripts/backbone_js/tinymce/jscripts/tiny_mce/plugins/legacyoutput/plugin.min.js
it-logica-application-backbone-1.4.8 app/assets/javascripts/backbone_js/tinymce/jscripts/tiny_mce/plugins/legacyoutput/plugin.min.js
tinymce-rails-4.0.18 vendor/assets/javascripts/tinymce/plugins/legacyoutput/plugin.js
tinymce-rails-4.0.16 vendor/assets/javascripts/tinymce/plugins/legacyoutput/plugin.js
tinymce-rails-4.0.12 vendor/assets/javascripts/tinymce/plugins/legacyoutput/plugin.js
tinymce-rails4-4.0.11 app/assets/javascripts/plugins/legacyoutput/plugin.min.js
tinymce-rails-4.0.11 vendor/assets/javascripts/tinymce/plugins/legacyoutput/plugin.js
it-logica-application-backbone-1.4.7 app/assets/javascripts/backbone_js/tinymce/jscripts/tiny_mce/plugins/legacyoutput/plugin.min.js
it-logica-application-backbone-1.4.6 app/assets/javascripts/backbone_js/tinymce/jscripts/tiny_mce/plugins/legacyoutput/plugin.min.js
it-logica-application-backbone-1.4.5 app/assets/javascripts/backbone_js/tinymce/jscripts/tiny_mce/plugins/legacyoutput/plugin.min.js