bootstrap-wysiwyg icon indicating copy to clipboard operation
bootstrap-wysiwyg copied to clipboard

Add link button doesn't work if you set textbox value with javascript

Open nicolabracchini opened this issue 10 years ago • 3 comments

Hi,

thnks and congratulation for this fantastic work! When I try to set textbox content (for data-edit="createLink") with javascript, the Add button doesn't work.

image

What can I do to make it work ?

Thanks! Nicola

nicolabracchini avatar Sep 25 '15 09:09 nicolabracchini

Hi Nicola,

Thanks for reporting you're findings. I was able to replicate your results so I'll have to look and see what's causing the exact issue. Hopefully if all goes well I hope to be able to have a PR for you to test this afternoon. (I'm in CST timezone)

codewithtyler avatar Sep 25 '15 12:09 codewithtyler

How's the status on the fix for this?

I've been looking at your way of inserting links and can see that IE doesn't really support the createLink method. Even the MSDN demo fail to work in IE11.

Should an alternate method be made for IE, or should the feature just be listed as "not working" for now?

svc-user avatar Jan 19 '16 15:01 svc-user

For now, it should probably be labeled as "Not Working".

This has been pretty much been out on hold so I can work on the OOP and unit test implementation.

codewithtyler avatar Jan 19 '16 15:01 codewithtyler