Skip to content
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

How to use the rmlui rich text editor? Is there a suitable approach? #538

Closed
zsea opened this issue Nov 14, 2023 · 2 comments
Closed

How to use the rmlui rich text editor? Is there a suitable approach? #538

zsea opened this issue Nov 14, 2023 · 2 comments
Labels
discussion Meta talk and feedback support Usage questions

Comments

@zsea
Copy link

zsea commented Nov 14, 2023

I want to implement a rich text editor. I know that in a browser, we can use contentEditable to enable the editing state of an element, but there is no such attribute in rmlui. Is there any other way to achieve this?

@mikke89 mikke89 added discussion Meta talk and feedback support Usage questions labels Nov 14, 2023
@mikke89
Copy link
Owner

mikke89 commented Nov 14, 2023

Hi. Sure, this will certainly be quite some effort, but the only proper way to implement rich text editing would be to create a custom element. I'd encourage you to take a look at the WidgetTextInput class, and work your way out from there. Let me know if I can answer any questions.

Good luck, and let us know how it goes!

@zsea
Copy link
Author

zsea commented Nov 15, 2023

Thanks, I'll give it a try.

@mikke89 mikke89 closed this as completed Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Meta talk and feedback support Usage questions
Projects
None yet
Development

No branches or pull requests

2 participants