You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our email composer uses the Editor.js library but we have implemented our own link inline block because we felt the included one had a lot of issues. During development, I remember everything working very well, but around the time of release I started noticing this weird behavior. Creating a link works well, but after selecting an existing link the inline tool doesn't work as expected. It doesn't indicate that a link is selected, and there seems to be no way to edit the URL of a link.
Write some text, e.g. "This is a paragraph and it will contain a link somewhere in the middle."
Select some text in the middle of that sentence, e.g. "a link"
Click the link button and type a URL
Select all or part of the linked text
Expected Behaviour
The toolbar that appears should highlight the link icon and display the input field where I can edit the URL. At this point, clicking the now different link button should remove the link.
Actual Behaviour
The toolbar appears unchanged, and there is no input field to update the URL, but clicking the link button does remove the link.
Screenshots (if you have any)
Creating a link (works well)
Selecting an existing link
I would expect to see the link button highlighted (compare with selecting a piece of bold text) and that the input field where I can add the URL to be visible.
The text was updated successfully, but these errors were encountered:
richardolsson
changed the title
Link block in email composer behaves erratically
Links (inline tool) in email composer behaves erratically
Sep 26, 2024
Description
Our email composer uses the Editor.js library but we have implemented our own link inline block because we felt the included one had a lot of issues. During development, I remember everything working very well, but around the time of release I started noticing this weird behavior. Creating a link works well, but after selecting an existing link the inline tool doesn't work as expected. It doesn't indicate that a link is selected, and there seems to be no way to edit the URL of a link.
Steps to reproduce
Expected Behaviour
The toolbar that appears should highlight the link icon and display the input field where I can edit the URL. At this point, clicking the now different link button should remove the link.
Actual Behaviour
The toolbar appears unchanged, and there is no input field to update the URL, but clicking the link button does remove the link.
Screenshots (if you have any)
Creating a link (works well)
Selecting an existing link
I would expect to see the link button highlighted (compare with selecting a piece of bold text) and that the input field where I can add the URL to be visible.
The text was updated successfully, but these errors were encountered: