Sitecore create drop-down button in RTE populated from master database -


i'm trying create drop-down button rich text editor (rte) in sitecore cannot figure out how implement this. similar 'insert snippet' command shown below, source of dropdown driven content master database instead of core items within html editor profile. enter image description here

the closest approach i've found article describes how add button opens dialog in rte.

another option have save handler can create snippet items in core database based when items created/edited in area of master database.

inherit sitecore.shell.controls.richtexteditor.editorconfiguration. if want add snippets standard snippets list, override setupsnippets method , add editor.snippets collection.

if want add own dropdown, more complicated, can override setuptoolbars method , add editortoolgroup editordropdown. might want @ telerik's documentation radeditor if run problems.

once have draft of class written, register going profile definition in core database under /sitecore/system/settings/html editor profile. each profile has configuration type item can specify type signature of class.


Comments

Popular posts from this blog

html - Sizing a high-res image (~8MB) to display entirely in a small div (circular, diameter 100px) -

java - IntelliJ - No such instance method -

identifier - Is it possible for an html5 document to have two ids? -