-
Notifications
You must be signed in to change notification settings - Fork 13
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
[MT-4449] Autoformat #64
Conversation
MT-4449 Editor - Detect ordered and unordered lists, headings and quotes
From Productboard from @jesse :
-- General rulesI found two patterns on what happens if you create a list by typing Notion and Craft will remove everything, both the format and the introduced characters will disappear from the line. This is very frustrating. Google Docs and Coda will remove the formatting, you get a regular, unformatted List of shortcuts
|
packages/slate-editor/src/modules/editor-v4-autoformat/autoformatUtils.ts
Outdated
Show resolved
Hide resolved
…oformat # Conflicts: # package-lock.json # packages/slate-commons/src/commands/index.ts # packages/slate-commons/src/types/Extension.ts # packages/slate-editor/package.json # packages/slate-editor/src/modules/editor-v4/getEnabledExtensions.ts # packages/slate-editor/src/modules/editor-v4/types/index.ts
# Conflicts: # packages/slate-editor/src/modules/editor-v4/getEnabledExtensions.ts
hi @aspirisen what is the state of this PR? |
# Conflicts: # package-lock.json # packages/slate-editor/package.json
Instead of concatenation to the defaults
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@digitalbase going to be merged |
Ticket: https://linear.app/prezly/issue/MT-4449/editor-detect-ordered-and-unordered-lists-headings-and-quotes
Demo:
Autoformat:
Undo: