When you try to insert a table but the focus is not on the editable content, it breaks.
You can test it here http://www.igniteui.com/html-editor/api-and-events
Just insert table first thing and observe.
Please fix this!
Thanks!
Hi Tibi,
The described behavior is sample specific. Most probably when we log the message in the API viewer the focus is lost and the table cannot be inserted. You can check that the same interaction works fine in the other html editor samples like: http://igniteui.com/html-editor/overview.
Let me know if I can be of further assistance.
Thanks for your reply, but actually i didn't only find the bug in that sample, but in my app. I can't seem to get it to work ok and it behaves just like in the sample on the link i provided in the first post.
Please tell me what's different in the sample that you sent to me in order to work, so i can make it work in my app too?
I will investigate what causes this behavior in the sample and when I'm done I will update you with my findings.
I managed to reproduce this behavior. It is caused when the initial <p> tag that we add to the html editor is removed. In our sample we set $('#htmlEditor').igHtmlEditor("setContent", "", "html"), which removes the <p> tag and the table is not insert because it is looking for this <p>.
I have logged this behavior in our internal tracking system with a Development ID of 193205. A support case is created on your behalf with number CAS-154804-P3W4V8 , so that you can be notified when the bug is fixed. You can find your active cases under Account - Support Activity in our website. Select your ticket and go to Development Issues tab to view the status of related bugs.
Let me know if I may be of further assistance.
Thank you for your fast feedback! I managed to find a workaround by triggering focus and blur when the editor is ready.
I am glad that I could help.
Thank you for reporting this, we will still fix it.