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

include codemirror autorefresh addon #249

Merged
merged 2 commits into from Oct 30, 2020
Merged

include codemirror autorefresh addon #249

merged 2 commits into from Oct 30, 2020

Conversation

mbolli
Copy link

@mbolli mbolli commented Oct 2, 2020

I got this problem, that when rendering easyMDE in a hidden tab, I need to click inside the editor before seeing what content is inside it.
It's a known problem:

Including the Codemirror AutoRefresh addon solves it.
I added the option autoRefresh as well and included the Typescript typings.

To use it, add the option:
autoRefresh: { delay: 250 },

@mbolli
Copy link
Author

mbolli commented Oct 27, 2020

Any reason why this is not being merged?

@Ionaru
Copy link
Owner

Ionaru commented Oct 27, 2020

Because I haven't had the time to test this new feature well enough. Sorry for the delay.

@Ionaru Ionaru merged commit 70f3512 into Ionaru:master Oct 30, 2020
Ionaru added a commit that referenced this pull request Oct 30, 2020
@mbolli mbolli deleted the codemirror-autorefresh branch December 1, 2020 14:37
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

Successfully merging this pull request may close these issues.

Content fails to load when element isn't yet in the DOM on page load display problem
2 participants