0

Does anyone knows the names of the style-class for the HTMLEditor's toolbar buttons in image below ?

enter image description here

I got a list of the other buttons:

enter image description here

Thanks in advance.

1 Answers1

3

These CSS classes are in HTML-Editor > bottom-toolbar:

format-menu-button — ComboBox
font-family-menu-button — ComboBox
font-size-menu-button — ComboBox

See for details: JavaFX CSS Reference Guide

Cem Ikta
  • 1,330
  • 12
  • 12
  • If you can answer: do you know why I get NPE when I try to hide the combobox above ? For the other controls in ".bottom-toolbar" the following lines works perfectly: editor.lookup(".bottom-toolbar").lookup(".html-editor-underline").setVisible(false); editor.lookup(".bottom-toolbar").lookup(".html-editor-underline").setManaged(false); – Adalberto José Brasaca Aug 18 '20 at 20:59
  • The answers can help: https://stackoverflow.com/questions/10075841/how-to-hide-the-controls-of-htmleditor https://stackoverflow.com/questions/15931588/options-for-html-editing-in-javafx – Cem Ikta Aug 18 '20 at 21:08
  • I had already tested most of the code, but no success. But thanks anyway.... – Adalberto José Brasaca Aug 18 '20 at 23:16