keditor
keditor copied to clipboard
unable to add new content when setContent is defined
When static content is defined with the setContent method, the [add content] button does not appear, preventing you from adding new blocks to the content
Version v2.0.1
Without setContent defined
With setContent defined,
Did you find any fix for this bug?
hi @mralireza12 we havent seen this bug, and are using keditor heavily. My guess is that user probably had an error in their code.
thank you @bradmac for your reply. Is there any differences between the ways that we can call methods? I mean is there any chance that my way caused the bug? I used the example in the .md file for puttting content (sorry for my english).
sorry, not sure. But if you have any problems best thing is just to debug it. And if you find any improvements we would welcome a pull request!
I just fixed this by writing contents directly into the "content-area" div and not using setContent method.