Add ability to change icons of buttons.Take out the 1000ms timeout when initing the editor.Here we enabled just Bold and Highlight, but you could choose also Italic, Code, Link, OrderedList, UnorderedList. As a payload you'll get "pressedButton" - the specific name of the button that was pressed. The RichText component has the allowedFeatures props where you can specify an array of allowed rich text features. HBEditorConstants.HB_RICH_EDITOR_TOOLBAR_BUTTON_WAS_PRESSED : Will fire every time a toolbar button has been pressed.HBEditorConstants.HB_RICH_EDITOR_GOT_FOCUS : Will fire when the editor gets focus, to give you an option of preparing the view.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |