-
-
Notifications
You must be signed in to change notification settings - Fork 59
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
🐛 Fixed kg-html-to-lexical
creating unwanted text alignment and invalid nesting
#1002
🐛 Fixed kg-html-to-lexical
creating unwanted text alignment and invalid nesting
#1002
Commits on Oct 19, 2023
-
🐛 Fixed
kg-html-to-lexical
creating unwanted text alignment and inv……alid nesting refs TryGhost/Ghost#18448 - extracted our aligment stripping and denesting transforms to a new `kg-default-transforms` package - updated `kg-html-to-lexical` so it adds the transforms to the headless editor ensuring the output matches what we'd get if the same content was pasted directly into the editor
Configuration menu - View commit details
-
Copy full SHA for cb5ba7b - Browse repository at this point
Copy the full SHA cb5ba7bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4c80181 - Browse repository at this point
Copy the full SHA 4c80181View commit details -
updated denest transform to handle nesting inside lists, removed imag…
…e-specific denest in koenig-lexical
Configuration menu - View commit details
-
Copy full SHA for 67759d8 - Browse repository at this point
Copy the full SHA 67759d8View commit details -
Configuration menu - View commit details
-
Copy full SHA for ebd41f1 - Browse repository at this point
Copy the full SHA ebd41f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for ade6825 - Browse repository at this point
Copy the full SHA ade6825View commit details -
switched back to commonjs build type, fixed kg-html-to-lexical tests
- with module build type we ran into issues when imported into commonjs package builds - with commonjs build type we need to explicitly import in koenig-lexical vite config
Configuration menu - View commit details
-
Copy full SHA for c0b475e - Browse repository at this point
Copy the full SHA c0b475eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 97e4d5d - Browse repository at this point
Copy the full SHA 97e4d5dView commit details -
fixed registerDefaultTransforms test
- extracted editor creation to test utils ready for re-use in individual transform tests - transforms are not run when using `setEditorState()` so we need to register them after that as they _are_ run when registering - we can't use `getEditorState()` immediately after registering transforms because they are still being run async, we can get around that by running an empty discrete update first
Configuration menu - View commit details
-
Copy full SHA for bec73df - Browse repository at this point
Copy the full SHA bec73dfView commit details -
Configuration menu - View commit details
-
Copy full SHA for a67707c - Browse repository at this point
Copy the full SHA a67707cView commit details -
Configuration menu - View commit details
-
Copy full SHA for a22bb5b - Browse repository at this point
Copy the full SHA a22bb5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6589345 - Browse repository at this point
Copy the full SHA 6589345View commit details