【问题标题】:emojioneArea not converted images tagemojioneArea 未转换的图像标签
【发布时间】:2018-04-06 02:55:16
【问题描述】:

这是我的 HTML 代码:

<textarea name="edit_comment" class="edit-comment">
    // This is the comment content that will be edited (getting from database)
    Hello John <img alt="????" class="emojioneemoji" src="https://cdnjs.cloudflare.com/ajax/libs/emojione/2.2.7/assets/png/1f603.png">
</textarea>

当我尝试编辑评论时,这是给我的输出:

https://i.imgur.com/KfH5lHP.png

如何让emojioneArea去掉图片标签,只添加表情符号?

【问题讨论】:

标签: html emoji emojione


【解决方案1】:

您可以将 unicode 用于表情符号而不是图像标记。 p &amp;#x1F601

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-10-26
    • 2020-04-20
    • 2013-10-28
    • 2018-11-19
    • 2020-09-23
    相关资源
    最近更新 更多