Sha256: d3a5c1c5a8e96245866e60d48addb3008c98aa859faef723bc1d06deb6fae353

Contents?: true

Size: 1.23 KB

Versions: 29

Compression:

Stored size: 1.23 KB

Contents

tinymce.PluginManager.add("advlist",function(t){function e(t,e){var n=[];return tinymce.each(e.split(/[ ,]/),function(t){n.push({text:t.replace(/\-/g," ").replace(/\b\w/g,function(t){return t.toUpperCase()}),data:"default"==t?"":t})}),n}function n(e,n){var i,r=t.dom,a=t.selection;i=r.getParent(a.getNode(),"ol,ul"),i&&i.nodeName==e&&n!==!1||t.execCommand("UL"==e?"InsertUnorderedList":"InsertOrderedList"),n=n===!1?o[e]:n,o[e]=n,i=r.getParent(a.getNode(),"ol,ul"),i&&(r.setStyle(i,"listStyleType",n),i.removeAttribute("data-mce-style")),t.focus()}function i(e){var n=t.dom.getStyle(t.dom.getParent(t.selection.getNode(),"ol,ul"),"listStyleType")||"";e.control.items().each(function(t){t.active(t.settings.data===n)})}var r,a,o={};r=e("OL",t.getParam("advlist_number_styles","default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman")),a=e("UL",t.getParam("advlist_bullet_styles","default,circle,disc,square")),t.addButton("numlist",{type:"splitbutton",tooltip:"Numbered list",menu:r,onshow:i,onselect:function(t){n("OL",t.control.settings.data)},onclick:function(){n("OL",!1)}}),t.addButton("bullist",{type:"splitbutton",tooltip:"Bullet list",menu:a,onshow:i,onselect:function(t){n("UL",t.control.settings.data)},onclick:function(){n("UL",!1)}})});

Version data entries

29 entries across 29 versions & 4 rubygems

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