Hi,
I've created a custom toolbar button wich paste a vertical buttonlist in the editor. the buttonlist in nested in a 3x3 table. After pasting it i want to select the table by using the setActive() method. This is not working. Is it possible to get it work.
Other elements do work this way.
Gerco
I've created a custom toolbar button wich paste a vertical buttonlist in the editor. the buttonlist in nested in a 3x3 table. After pasting it i want to select the table by using the setActive() method. This is not working. Is it possible to get it work.
| editor.pasteHtml(verticalRadioBuutonListAsHtml, commandName); |
| var insertedElem = editor.get_document().getElementById(id); |
| if (insertedElem) { |
| if (insertedElem.setActive) { |
| insertedElem.setActive(); |
| } |
| } |
Gerco