Closed jaradc closed 1 year ago
It may conflict with your bootstrap4 jquery, it is suggested that you can put it on a separate page.
I figured it out. I don't have the solution in front of me at-the-moment, but it had to do with adding an event listener to the tabs and initializing EditorMD once with a special unique ID, then redefining the function after initialization to be a no-op. It was tough.
长时间没有回应,如有需要可再次开启本issue。
I am running your
mdeditor_demo
example and myforms.html
looks like this:Note that the form is rendered on the third tab in the tabbed nav.
My Question
What do I need to do to load EditorMD - do I need to call a CodeMirror function? Do I need custom Javascript?
My Observation
When I resize the dev tools window when the editor isn't loaded, something triggers the editor to resize correctly. What is that exactly and how can I trigger that?