我无法使用CKEditor 4正确安装emoji插件。 我遵循文档并安装Dependencies。 表情符号似乎在这里的某个地方,但它没有显示在工具栏中
请注意,我使用了django ckeditor,但效果相同。 “我的浏览器”的日志控制台中没有错误
这是我的配置:
CKEDITOR_CONFIGS = {
'default': {
# 'toolbar': 'full',
'codeSnippet_theme': 'monokai_sublime',
'toolbar': 'Custom',
'toolbar_Custom': [
['Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', 'RemoveFormat', '-', 'Undo', 'Redo'],
['Find', 'Replace', '-', 'SelectAll'],
['Bold', 'Italic', 'Underline', 'Strike', 'Subscript', 'Superscript'],
['NumberedList', 'BulletedList', '-', 'Outdent', 'Indent', '-', 'Blockquote', '-',
'JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock', '-', 'BidiLtr', 'BidiRtl',
'Language'],
['Link', 'Unlink'],
['Image', 'Table', 'HorizontalRule', 'CodeSnippet', 'Code'],
['emoji', 'SpecialChar', 'Youtube'],
['Styles', 'Format', 'Font', 'FontSize'],
['TextColor', 'BGColor'],
['Maximize', 'ShowBlocks'],
],
'extraPlugins': 'codesnippet,youtube,codeTag,emoji',
'removePlugins': 'flash,anchor,iframe,forms,div,exportpdf,templates',
'removeButtons': 'Anchor',
'width': '100%',
'tabSpaces': 4,
}
}
请注意,youtube、codeTag和codesnippet可以完美地工作,而我对表情符号也做了同样的工作,但这不起作用
拜托,有人能帮我吗
哦,上帝,我解决了我的问题,只是在configs中用
'EmojiPanel'
替换了'emoji'
。 在任何地方都没有提到它,我在emoji插件的plugin.js
中找到了它。 这太奇怪了,没有网站文档提到它相关问题 更多 >
编程相关推荐