-
Notifications
You must be signed in to change notification settings - Fork 113
fix(editor): enhance editor readiness and connection handling #8025
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
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Enjeck C. <[email protected]>
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
Let's go through the errors one by one... It looks like you are using a custom button as a or other popover #trigger.This is caused in nextcloud-vue 8 when mounting a hidden button with a popover. We mount the menu bar hidden and show it when the editor is ready. nextcloud-libraries/nextcloud-vue#7975 will fix this once it has been released and the release is used. I don't remember the original intention behind rendering the menu bar hidden and then showing it rather than only rendering it when the editor is ready. I suspect an attempt at preventing layout changes or improving load performance as the emoji picker in the menu bar takes a long time to load. Unless there are other benefits from rendering the menu bar late I'd prefer to wait for the nextcloud-vue fix. |
injection "Symbol(text:opendata)" not found.This is in Otherwise the upload menu items should not be rendered I think. This error also was shown within the |
injection "Symbol(text:editor:width)" not found.Also happened in the |
"class" is a reserved attribute and cannot be used as component prop.This is caused by an invalid use of the class attribute in tiptap. https://github.com/ueberdosis/tiptap/blob/develop/packages/extension-drag-handle-vue-2/src/DragHandle.ts#L53-L56 class: {
type: String as PropType<DragHandleProps['class']>,
default: 'drag-handle',
},
|
|
@enjeck @max-nextcloud is this PR still a thing or shall we close it? |
📝 Summary
In Tables, I was seeing the following errors in the browser console. For large tables with many rich text cells, there are thousands of these logs. This gets rid of them:
🚧 TODO
🏁 Checklist
npm run lint/npm run stylelint/composer run cs:check)