Files
Testing/html5-chat/chatadmin/editors/tinymce/plugins/anchor/plugin.min.min.min.js
sean 0e8a8b3028
Some checks failed
deploy-testing / deploy (push) Has been cancelled
Initial testing snapshot
2026-11-17 16:15:01 -05:00

1 line
461 B
JavaScript

tinymce.PluginManager.add("anchor",function(b){function a(){b.windowManager.open({title:"Anchor",body:{type:"textbox",name:"name",size:40,label:"Name",value:b.selection.getNode().id},onsubmit:function(c){b.execCommand("mceInsertContent",!1,b.dom.createHTML("a",{id:c.data.name}))}})}b.addButton("anchor",{icon:"anchor",tooltip:"Anchor",onclick:a,stateSelector:"a:not([href])"}),b.addMenuItem("anchor",{icon:"anchor",text:"Anchor",context:"insert",onclick:a})});