-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hide links, tables, images, and alignment buttons #158
Comments
Oh, and I need to be able to disable all the header options except |
There is some limited guidance on how to do this, per https://github.com/stevengharris/MarkupEditor#customizing-the-toolbar, but you have to sort it out from
I hadn't thought about limiting the styles themselves to some kind of subset. Probably the easiest way to do that would just be to fork the code and modify
While you're at it, you could change the
IIRC, the font sizes in this static are meaningless because they are controlled via |
FWIW, I'm interested in identifying things people need that really should be part of the API but which they're forced to take care of via a fork right now, so this was helpful to me. Don't go crazy with itemizing them, tho, please 😜. |
I see that limiting the paragraph style options in StyleContext also requires a modification to
The UICommands here really should not be hardcoded and should just have adjusted based on the styles, I think, but I haven't really looked at this area for a long time. |
Thanks for your help! |
I need to hide the links, tables, images, and alignment buttons, as my app can't support them, and there doesn't seem to be a way to do that. Thanks.
The text was updated successfully, but these errors were encountered: