pandao / editor.md

The open source embeddable online markdown editor (component).
http://editor.md.ipandao.com/
MIT License
13.86k stars 2.42k forks source link

#:#:# - Creates <img> tags - how to prevent? Where? #957

Open jaradc opened 2 years ago

jaradc commented 2 years ago

If you go here: https://pandao.github.io/editor.md/en.html And enter this in the online demo at the top:

### Features
I ran 14:12:1 to 11:21:5

Looks like this:

image

How do I prevent that?

Update: Seems to be caused by emojis

    // Emoji graphics files url path
    editormd.emoji     = {
        path  : "https://www.webfx.com/assets/emoji-cheat-sheet/img/graphics/emojis/",
        ext   : ".png"
    };

"https://www.webfx.com/tools/emoji-cheat-sheet/graphics/emojis/" does not work.

This example is all jacked:

http://editor.md.ipandao.com/examples/emoji.html

WHFo commented 2 years ago

editormd.emoji = { path : "https://cdn.staticfile.org/emoji-cheat-sheet/1.0.0/", ext : ".png" }; editormd.twemoji = { path : "https://cdn.staticfile.org/twemoji/1.0.0/36x36/", ext : ".png" };