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

Introduce ui.editor #1651

Merged
merged 3 commits into from
Sep 21, 2023
Merged

Introduce ui.editor #1651

merged 3 commits into from
Sep 21, 2023

Conversation

falkoschindler
Copy link
Contributor

This PR implements a simple WYSIWYG editor based on Quasar's QEditor as requested in #1124.

editor = ui.editor(placeholder='Type something here')
ui.markdown().bind_content_from(editor, 'value', backward=lambda v: f'HTML code:\n```\n{v}\n```')
Screenshot 2023-09-19 at 17 05 54

@falkoschindler falkoschindler added the enhancement New feature or request label Sep 19, 2023
@falkoschindler falkoschindler added this to the 1.3.15 milestone Sep 19, 2023
@rodja rodja merged commit 3edcb78 into main Sep 21, 2023
3 of 5 checks passed
@rodja rodja deleted the editor branch September 21, 2023 04:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants