我正在开发聊天应用程序(cordova),我在这个代码中遇到问题,当我打算在表情符号后输入文字我无法输入
https://output.jsbin.com/radaref
<!DOCTYPE html>
<html>
<head>
<link href="https://cdn.jsdelivr.net/embed.js/4.1.3/embed.min.css" rel="stylesheet" />
</head>
<body>
<p contenteditable="true">This is a paragraph. It is editable. Try to change this text.<span class="emoticon emoticon-blush" title=":blush:"> </span></p>
<script src="https://cdn.jsdelivr.net/embed.js/4.1.3/embed.min.js"> </script>
</body>
</html>
&#13;
答案 0 :(得分:2)
了解其作品如何在表情符号
之后添加
<!DOCTYPE html>
<html>
<head>
<link href="https://cdn.jsdelivr.net/embed.js/4.1.3/embed.min.css" rel="stylesheet" />
</head>
<body>
<p contenteditable="true">This is a paragraph. It is editable. Try to change this text.<span class="emoticon emoticon-blush" title=":blush:"> </span> </p>
<script src="https://cdn.jsdelivr.net/embed.js/4.1.3/embed.min.js"> </script>
</body>
</html>