Open SamWhited opened 6 years ago
Will have to find time to look into this one unless you have time to do a PR
Will have to find time to look into this one unless you have time to do a PR
Normally I'd love to help, but I'm afraid that I've spent my entire career avoiding front end work (and JavaScript in particular) at all costs and have no idea how any of this works :)
I understand. I will try and find time to look into it more.
After codemirror is active the sourcecode looks like this:
and therefore your CSS selector "textarea:valid+button" won't match.
I'm submitting a...
Reproduction steps
https://jsfiddle.net/hv352zf8/
Notice that in the example if you remove the inscrybmde the CSS changes the button color. However, if you set a markdown editor on the textarea, even with forceSync as shown in the readme, the button text does not update.
Version information
Browser type and version: Firefox 62.0a1 SimpleMDE version: 1.11.3