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

Bug Cannot add Hyperlink when tinymce variables are in the textarea. #33

Open
tcampbPPU opened this issue Nov 11, 2019 · 5 comments
Open

Comments

@tcampbPPU
Copy link

If I used a variable the default link plugin with TinyMCE no longer works. As soon as I delete that variable the link plugin works again.

This only happens when I trying inserting a link via highlighting some text first then trying to add a hyperlink.

@tcampbPPU
Copy link
Author

Given the Screenshot below {First Name} & {Last Name} are my replaced variables. Since they are in the textarea I can no longer highlight the lorem text and create a hyperlink. The Model for the hyperlink still works but when I hit save the link does not get created.

image

@tcampbPPU tcampbPPU changed the title Cannot add Hyperlink when are tinymce varaible is in the textarea. Bug Cannot add Hyperlink when are tinymce variable is in the textarea. Nov 12, 2019
@tcampbPPU tcampbPPU changed the title Bug Cannot add Hyperlink when are tinymce variable is in the textarea. Bug Cannot add Hyperlink when tinymce variables are in the textarea. Nov 12, 2019
@tcampbPPU
Copy link
Author

Do you think it is this causing the issue editor.dom.remove(nodeList[i])
That appears to remove all parts of the HTML that are not the variable inside that span tag

@tcampbPPU
Copy link
Author

@Sitebase Is this repo still active?

@saosangmo
Copy link

I get the same issue. @tcampbPPU have you fixed this issue?

@tcampbPPU
Copy link
Author

tcampbPPU commented Feb 13, 2024

I get the same issue. @tcampbPPU have you fixed this issue?

nah I dont use TinyMCE anymore. I've switched to TipTap

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants