is it possible to hide the controls of a HTMLEditor above the actual text? (Alignment, Copy&Paste icons, stylings etc.)
Thanks for any help
public static void hideHTMLEditorToolbars(final HTMLEditor editor) { editor.setVisible(false); Platform.runLater(new Runnable() { @Override public void run() { Node[] nodes = editor.lookupAll(".tool-bar").toArray(new Node[0]); for(Node node : nodes) { node.setVisible(false); node.setManaged(false); } editor.setVisible(true); } }); }
1.4m articles
1.4m replys
5 comments
57.0k users