Sha256: dc4b1d92078bf1144f230ad8453b7f8c7f696b07312e3b9edbc5c93c5c97810d

Contents?: true

Size: 1.13 KB

Versions: 24

Compression:

Stored size: 1.13 KB

Contents

tinymce.PluginManager.add("visualblocks",function(e,t){function n(){var t=this;t.active(r),e.on("VisualBlocks",function(){t.active(e.dom.hasClass(e.getBody(),"mce-visualblocks"))})}var i,a,r;window.NodeList&&(e.addCommand("mceVisualBlocks",function(){var n,o=e.dom;i||(i=o.uniqueId(),n=o.create("link",{id:i,rel:"stylesheet",href:t+"/css/visualblocks.css"}),e.getDoc().getElementsByTagName("head")[0].appendChild(n)),e.on("PreviewFormats AfterPreviewFormats",function(t){r&&o.toggleClass(e.getBody(),"mce-visualblocks","afterpreviewformats"==t.type)}),o.toggleClass(e.getBody(),"mce-visualblocks"),r=e.dom.hasClass(e.getBody(),"mce-visualblocks"),a&&a.active(o.hasClass(e.getBody(),"mce-visualblocks")),e.fire("VisualBlocks")}),e.addButton("visualblocks",{title:"Show blocks",cmd:"mceVisualBlocks",onPostRender:n}),e.addMenuItem("visualblocks",{text:"Show blocks",cmd:"mceVisualBlocks",onPostRender:n,selectable:!0,context:"view",prependToContext:!0}),e.on("init",function(){e.settings.visualblocks_default_state&&e.execCommand("mceVisualBlocks",!1,null,{skip_focus:!0})}),e.on("remove",function(){e.dom.removeClass(e.getBody(),"mce-visualblocks")}))});

Version data entries

24 entries across 24 versions & 3 rubygems

Version Path
it-logica-application-backbone-1.5.3 app/assets/javascripts/backbone_js/tinymce/jscripts/tiny_mce/plugins/visualblocks/plugin.min.js
it-logica-application-backbone-1.5.2 app/assets/javascripts/backbone_js/tinymce/jscripts/tiny_mce/plugins/visualblocks/plugin.min.js
it-logica-application-backbone-1.5.1 app/assets/javascripts/backbone_js/tinymce/jscripts/tiny_mce/plugins/visualblocks/plugin.min.js
it-logica-application-backbone-1.5.0 app/assets/javascripts/backbone_js/tinymce/jscripts/tiny_mce/plugins/visualblocks/plugin.min.js
it-logica-application-backbone-1.4.12 app/assets/javascripts/backbone_js/tinymce/jscripts/tiny_mce/plugins/visualblocks/plugin.min.js
it-logica-application-backbone-1.4.11 app/assets/javascripts/backbone_js/tinymce/jscripts/tiny_mce/plugins/visualblocks/plugin.min.js
it-logica-application-backbone-1.4.10 app/assets/javascripts/backbone_js/tinymce/jscripts/tiny_mce/plugins/visualblocks/plugin.min.js
it-logica-application-backbone-1.4.9 app/assets/javascripts/backbone_js/tinymce/jscripts/tiny_mce/plugins/visualblocks/plugin.min.js
it-logica-application-backbone-1.4.8 app/assets/javascripts/backbone_js/tinymce/jscripts/tiny_mce/plugins/visualblocks/plugin.min.js
tinymce-rails-4.0.18 vendor/assets/javascripts/tinymce/plugins/visualblocks/plugin.js
tinymce-rails-4.0.16 vendor/assets/javascripts/tinymce/plugins/visualblocks/plugin.js
tinymce-rails-4.0.12 vendor/assets/javascripts/tinymce/plugins/visualblocks/plugin.js
tinymce-rails4-4.0.11 app/assets/javascripts/plugins/visualblocks/plugin.min.js
tinymce-rails-4.0.11 vendor/assets/javascripts/tinymce/plugins/visualblocks/plugin.js
it-logica-application-backbone-1.4.7 app/assets/javascripts/backbone_js/tinymce/jscripts/tiny_mce/plugins/visualblocks/plugin.min.js
it-logica-application-backbone-1.4.6 app/assets/javascripts/backbone_js/tinymce/jscripts/tiny_mce/plugins/visualblocks/plugin.min.js
it-logica-application-backbone-1.4.5 app/assets/javascripts/backbone_js/tinymce/jscripts/tiny_mce/plugins/visualblocks/plugin.min.js
tinymce-rails-4.0.8 vendor/assets/javascripts/tinymce/plugins/visualblocks/plugin.js
tinymce-rails-4.0.7 vendor/assets/javascripts/tinymce/plugins/visualblocks/plugin.js
tinymce-rails4-4.0.6 app/assets/javascripts/plugins/visualblocks/plugin.min.js