Matthijs Kuiper
Matthijs Kuiper
I got it working by hiding CodeMirror-* and make the preview position relative, but am hoping for a less hacky solution: ```css .editor-toolbar.disabled-for-preview + .CodeMirror > :not(.editor-preview-full) { display: none;...
You probably want to look at a WYSIWYG editor that utilizes [`contenteditable`](https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Editable_content). EasyMDE used [CodeMirror](https://codemirror.net/) under the hood, but for example [ProseMirror](https://prosemirror.net) (same author as CodeMirror) might be more suitable...
+1 for addon support 👍
duplicate #379
Can also use [`replaceRange`](https://codemirror.net/doc/manual.html#replaceRange): ```js const pos = simplemde.codemirror.getCursor(); simplemde.codemirror.replaceRange("hello world", pos); ```
@matiasgarciaisaia sure, glad to help! Just tried updating to lunr.js v2.0.2 but I'm getting this error for every resource: ``` Error processing resource for index: index.html undefined method `add' for...
> Then we have to adapt our code so it's compatible with the new API. Thanks for the pointers. Unfortunately I've had very little time to get this going, but...
@gerwitz thanks for letting me know. I've started a [PR](https://github.com/manastech/middleman-search/pull/29) to update lunr.js and its new implementation but haven't found the time to get it working properly. Feel free to...
Then maybe the problem was with my setup, good to know 👍 Maybe this is production ready after all. @matiasgarciaisaia what do you think? Before merging we might want to:...
@matiasgarciaisaia would you consider minifying lunr.js manually on every update for now? If you don't mind we can get this PR merged 💃