Hi,
is there a way to report back to a custom format dropdown so that it can display the name of format that is selected?
I have created a custom dropdown that sets a format to the selected text like this:
var fragment = editor.getSelection().getRanges()[0].extractContents(); htmlString = '<span class="sapclass '+value+'"></span>'; container = CKEDITOR.dom.element.createFromHtml(htmlString, editor.document); fragment.appendTo(container); editor.insertElement(container);