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

New ZUIEditor component #2463

Open
wants to merge 75 commits into
base: main
Choose a base branch
from
Open

Conversation

richardolsson
Copy link
Member

@richardolsson richardolsson commented Jan 13, 2025

Description

This PR implements a new ZUIEditor to replace all text editors in the project, using ProseMirror and Remirror.

The PR adds a README for the component which contains more technical details.

Screenshots

TBD

Changes

TBD

Notes to reviewer

TBD

Related issues

Fixes #2243
Fixes #2284
Fixes #2394

Comment on lines +138 to +140
- `onChange` is called whenever content changes and passes the content in the
Zetkin block format
- `initialContent` is the initial content defined using the Zetkin block format
Copy link
Member Author

@richardolsson richardolsson Jan 13, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have not not implemented these yet. We can add them when we take on serialization/deserialization of content.

Ping @ziggabyte

…-fixes

Improvements to `ZUIEditor` overlays
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants