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

wysiwyg onclick error #79

Closed
mostafacs opened this issue Jan 13, 2019 · 3 comments
Closed

wysiwyg onclick error #79

mostafacs opened this issue Jan 13, 2019 · 3 comments

Comments

@mostafacs
Copy link

mostafacs commented Jan 13, 2019

Hi,
I put source code button of editor to

 <div style="text-align:center;"><strong><span style="font-size:x-large;">Playmobil Fashion Boutique Carrying Case</span></strong></div>
<div style="text-align:center;"><strong><span style="font-size:x-large;">New Factory Sealed</span></strong></div>
<div style="text-align:center;"><strong><span style="font-size:x-large;"><br></span></strong></div>
<div style="textalign:center;"><strong><span style="font-size:x-large;">Ages 4+</span></strong></div>

and when click on editor i got this error which make all other scripts not work.

suneditor.min.js:1 Uncaught TypeError: Cannot read property '0' of null at Object._findButtonEffectTag (suneditor.min.js:1) at HTMLDivElement.onClick_wysiwyg (suneditor.min.js:1)

@JiHong88
Copy link
Owner

JiHong88 commented Jan 14, 2019

Hi @mostafacs

Fixed in v2.9.5

Thanks to find a bug : )

@mostafacs
Copy link
Author

Thanks for your quick fix. I create Angular 7 Wrapper for the library. Wrapper will make it easy to integrate with angular 2+. How can i share with you?

@JiHong88
Copy link
Owner

Please share to my email or "PR" : -)

Thank you so much!

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