Closed shhnjk closed 1 year ago
Just adding the button to the UI is not enough to get a plugin to do something. You would need to figure out which plugin enabled editing HTML (don't think there is one provided in Closure that I can find?), and register it (like the other plugins listed above) in order for the command the button triggers to do anything.
Got it, so basically the Closure Editor doesn't provide plugin, and therefore I need to implement one myself.
goog.editor.Command.EDIT_HTML
button does not seem to work anymore.Repro:
goog.editor.Command.EDIT_HTML
in buttons.Note: you can test this dynamically by adding break point on buttons in the live demo.