steveathon / bootstrap-wysiwyg

Tiny bootstrap-compatible WYSIWYG rich text editor
MIT License
661 stars 1.71k forks source link

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

Open nicolabracchini opened 8 years ago

nicolabracchini commented 8 years ago

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

codewithtyler commented 8 years ago

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)

svc-user commented 8 years ago

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?

codewithtyler commented 8 years ago

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.