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

unable to add new content when setContent is defined #265

Open
philips81 opened this issue Oct 7, 2021 · 5 comments
Open

unable to add new content when setContent is defined #265

philips81 opened this issue Oct 7, 2021 · 5 comments
Labels

Comments

@philips81
Copy link

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
image

With setContent defined,
image

@philips81 philips81 added the bug label Oct 7, 2021
@mralireza12
Copy link

Did you find any fix for this bug?

@bradmac
Copy link
Contributor

bradmac commented Jul 10, 2022

hi @mralireza12 we havent seen this bug, and are using keditor heavily. My guess is that user probably had an error in their code.

@mralireza12
Copy link

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).

@bradmac
Copy link
Contributor

bradmac commented Jul 10, 2022

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!

@mralireza12
Copy link

I just fixed this by writing contents directly into the "content-area" div and not using setContent method.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants