fix(editor): enhance editor readiness and connection handling#8025
fix(editor): enhance editor readiness and connection handling#8025
Conversation
Signed-off-by: Enjeck C. <patrathewhiz@gmail.com>
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',
},
|
📝 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)