Skip to content
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

href attribute drops on any rich text areas #23

Open
notebk opened this issue Nov 25, 2020 · 0 comments
Open

href attribute drops on any rich text areas #23

notebk opened this issue Nov 25, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@notebk
Copy link

notebk commented Nov 25, 2020

Enabling dialog-box causes the href attribute to drop from rich text, leaving only the anchor tag. Tested it on three different projects, two using workflow and one without workflow. This happens on any rich text area.

To Reproduce

Step by step instructions to reproduce the behavior:

  1. Install dialog-box
  2. Create a rich text area
  3. Add a link (website or anchor). Text will have anchor tag and href attribute.
  4. Click on Preview, commit and see live version, or simply allow it to save and refresh the screen
  5. text will have the <a> tag but the href attribute won't show

Expected behavior

href attribute to be saved after creating a link and commiting the change

Describe the bug

dialog-box causing href attributes in rich-text areas to not save. Only anchor tag remains

Details

Version of Node.js:
12.18.2

Server Operating System:
Linux

Additional context:

I am seeing save-area fire and sending the appropriate data (full anchor tag with href attribute). Some code in dialog-box is interfering on the back-end when saving the changes and dropping href attributes

Screenshots
If applicable, add screenshots to help explain your problem.

@notebk notebk added the bug Something isn't working label Nov 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant