Class CKEditorConfig.ButtonStyle
java.lang.Object
com.wontlost.ckeditor.CKEditorConfig.ButtonStyle
- Enclosing class:
CKEditorConfig
Individual button style configuration.
Used within ToolbarStyle to customize specific toolbar buttons.
Usage example:
ButtonStyle boldStyle = ButtonStyle.builder()
.background("#fff3e0")
.hoverBackground("#ffe0b2")
.iconColor("#e65100")
.build();
-
Method Details
-
builder
-
getBackground
-
getHoverBackground
-
getActiveBackground
-
getIconColor
-
toJson
public tools.jackson.databind.node.ObjectNode toJson()Convert to JSON for frontend configuration.
-