-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
ElementNode -> isFixedPosition #1338
Comments
Interesting! It seems more flexible as you can define crazier things like: "I don't want more than 5 paragraphs in a row without a title in the middle" (one of the rules I have for writers at my SEO agency). |
My two cents: Very flexible but I don't think is very "react-like". The schema Object is okay, but I hope Lexical comes up with something better. |
We are going to address this separately as part of work on schemas. |
Is there a public place where it is being discussed what the possible solution will look like? |
In some cases we may want to have documents that resemble a sort of template. For example, the first line always being a title while the rest of the document is just a normal body.
We already support half of this feature by having a BootstrapPlugin that supports custom a custom initialization function, but to fully support this, we have to make sure that the title node can't be removed later.
The API could possibly look like that (kudos to @trueadm for the proposal):
The text was updated successfully, but these errors were encountered: