feat(editor): DP-131851 added editor support to encase text with div tags#685
Conversation
…roduced a property to the component to toggle the setting
|
Please add either the |
Brad Paugh (braddialpad)
left a comment
There was a problem hiding this comment.
This looks really good thanks!
make sure to port the code to vue 3 by using scripts/dialtone-vue-sync.sh
I don't think this code will need any vue 3 specific changes.
|
✔️ Deploy previews ready! |
Done! |
d0429a3
into
staging
# [2.180.0](dialtone-vue2/v2.179.1...dialtone-vue2/v2.180.0) (2025-03-31) ### Bug Fixes * **Pagination:** DLT-2373 invalid prop combination on end buttons ([#684](#684)) ([517debb](517debb)) ### Features * **Editor:** DP-131851 added editor support to encase text with div tags ([#685](#685)) ([d0429a3](d0429a3))
# [3.173.0](dialtone-vue3/v3.172.1...dialtone-vue3/v3.173.0) (2025-03-31) ### Bug Fixes * **Pagination:** DLT-2373 invalid prop combination on end buttons ([#684](#684)) ([517debb](517debb)) ### Features * **Editor:** DP-131851 added editor support to encase text with div tags ([#685](#685)) ([d0429a3](d0429a3))
# [9.107.0](dialtone/v9.106.1...dialtone/v9.107.0) (2025-03-31) ### Bug Fixes * **Pagination:** DLT-2373 invalid prop combination on end buttons ([#684](#684)) ([517debb](517debb)) ### Features * **Editor:** DP-131851 added editor support to encase text with div tags ([#685](#685)) ([d0429a3](d0429a3))
Dialtone Recipe Editor Support For Encasing Text With Div Tags
Obligatory GIF (super important!)
🛠️ Type Of Change
These types will increment the version number on release:
These types will not increment the version number, but will still deploy to documentation site on release:
📖 Jira Ticket
https://dialpad.atlassian.net/browse/DP-131851
📖 Description
💡 Context
Agent Experience is currently using Dialtone's Recipe Editor (DtRecipeEditor) for composing emails. One of our requirements by our customer is to match the behavior of outlook/gmail when composing emails. In outlook, and gmail when a user starts typing text the text is encased in div tags rather than the paragraph tags used by DtRecipeEditor which uses tiptap to implement the editor. This PR introduces a new extension that replaces the paragraph tags with a div tag. And enabling it when a property is sent to the recipe editor.
Purpose: We want the behavior of the editor to be similar to an editor in outlook or gmail.
Why: Customers were complaining that the email formatting was different in dialpad vs gmail and outlook because dialpad uses p tags and outlook and gmail uses div tags
Problems Solved: Customer will have a similar editing experience in both dialpad and other email clients like outlook and gmail.
📝 Checklist
For all PRs:
For all Vue changes:
./scripts/dialtone-vue-sync.shscript. Read docs here: Dialtone Vue Sync ScriptFor all CSS changes:
📷 Screenshots / GIFs
Screenshots of the imported component in ubervoice



