-
Notifications
You must be signed in to change notification settings - Fork 4
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
feat(rich-text-editor): DLT-2244 add ability inherit image properties in editor #604
feat(rich-text-editor): DLT-2244 add ability inherit image properties in editor #604
Conversation
Hi @emariotti-dialpad Please let me know how to properly test this, I tried just copy pasting an image into the editor and it's just pasting a giant icon. |
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.
The value is not being updated properly on Vue 3, please check that Vue 2 and Vue 3 versions are working properly on storybook.
packages/dialtone-vue3/components/rich_text_editor/rich_text_editor_default.story.vue
Outdated
Show resolved
Hide resolved
packages/dialtone-vue3/recipes/conversation_view/editor/editor.vue
Outdated
Show resolved
Hide resolved
packages/dialtone-vue3/recipes/conversation_view/editor/editor_default.story.vue
Outdated
Show resolved
Hide resolved
packages/dialtone-vue3/recipes/conversation_view/editor/editor_default.story.vue
Show resolved
Hide resolved
@juliodialpad I run it locally and set the image tag in the |
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.
Thanks! working correctly now
Please add either the |
✔️ Deploy previews ready! |
# [2.171.0](dialtone-vue2/v2.170.0...dialtone-vue2/v2.171.0) (2024-12-31) ### Code Refactoring * DLT-2123 remove utility classes from recipes ([#603](#603)) ([11717a4](11717a4)) ### Features * **Rich Text Editor:** DLT-2244 add ability inherit image properties in editor ([#604](#604)) ([eb65dea](eb65dea))
# [3.164.0](dialtone-vue3/v3.163.0...dialtone-vue3/v3.164.0) (2024-12-31) ### Code Refactoring * DLT-2123 remove utility classes from recipes ([#603](#603)) ([11717a4](11717a4)) ### Features * **Rich Text Editor:** DLT-2244 add ability inherit image properties in editor ([#604](#604)) ([eb65dea](eb65dea))
feat(rich-text-editor): DLT-2244 add ability inherit image properties in editor
Obligatory GIF (super important!)
🛠️ Type Of Change
These types will increment the version number on release:
📖 Jira Ticket
DLT-2244
📖 Description
Tip tap seems to strip the width from inserted images, so we need to add support adjusting image sizing. We found this useful thread here showing how to get the tiptap image extension to inherit the attributes from the img html tag.
💡 Context
This is mainly to be able to use it in email reply quotes and perhaps we could use it as well to add the ability to insert inline attachments/images. See short video here showing the problem.
📝 Checklist
For all PRs:
For all Vue changes:
./scripts/dialtone-vue-sync.sh
script. Read docs here: Dialtone Vue Sync Script📷 Screenshots / GIFs
🔗 Sources
Adding the link for the tip-tap issue referenced for this change