editor
editor copied to clipboard
Bug with bold on a line before
If you put this in the editor (checked in chrome and IE)
qsdf qsdf
The first line is bold (correct) the second line is italic (wrong!) => bug?
If I look at the preview all looks good. Just annoying when editing.
Same problem. I have tried to add an espace in the function toggleBold: cm.replaceSelection(start + text + end + ' '); It seems to avoid this bug, but if the user deletes the espace manual, il will re-make the seond line on italic. Perhaps a bug from codemirror?