Skip to content

Customize toolbar #49

@mediakon

Description

@mediakon

Hello,

I found possible problem. I would like to customize toolbar and I use following code:

`
MarkupEditor.style = .labeled
MarkupEditor.allowLocalImages = false

       let myToolbarContents = ToolbarContents(leftToolbar: false, correction: false, insert: false, style: true, format: true, rightToolbar: false, insertContents: InsertContents(link: false, image: false, table: false), styleContents: StyleContents(list: true, dent: false), formatContents: FormatContents(code: false, strike: false, subSuper: false))
       
       ToolbarContents.custom = myToolbarContents

`

but I still see button with select "normal", "header 1-6". 

a need to hide this button. (stay only LIST (ul and li) and B I U)

Zrzut ekranu 2022-09-1 o 10 55 58

Piotr

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions