import BalloonEditor from '@ckeditor/ckeditor5-editor-balloon/src/ballooneditor';
import Essentials from '@ckeditor/ckeditor5-essentials/src/essentials';
import Paragraph from '@ckeditor/ckeditor5-paragraph/src/paragraph';
import Bold from '@ckeditor/ckeditor5-basic-styl
你好,我很抱歉,这是一个非常大的系统的一部分,我不会把它全部放在一起,如果我遗漏了什么,请向我索要。
我正在使用jQuerys ajaxForm 和CKEditor
根据CKeditor上的文档,jQuery适配器与ajaxForm 一起工作在“与编辑器实例的代码交互”部分的底部,
现在,我的所有内容都通过AJAX加载到页面中,传递给它的数据将触发一个名为addonLoader的函数,这是该函数中处理CKEditor的部分
// check there are not any instance's of CKEditor running
$(".addonCo
我想知道是否可能,以及如何在<span>和其他内联元素上启用CKEditor4内联/内容编辑功能。这是我在官方文档中找不到的东西。
使用此标记:
<span id="editable" contenteditable="true"></span>
和标准配置(启用AutoInline)或此配置:
<script>
CKEDITOR.disableAutoInline = true;
CKEDITOR.inline('editable'); // ID of the element t
我有自己的自定义非jQuery,用于编写web应用程序。最近我遇到了使用IE9使用TinyMCE时遇到的问题,所以我尝试切换到CKeditor
可编辑文本被包装在div中,如下所示:
<div id='content'>
<div id='editable' contenteditable='true'>
page of inline text filled with ajax when links throughout the site are clicked
</div>
</div
我正在使用CKEditor在一个FOS\CKEditor-bundle 1.2的symfony项目中。我希望包含一个CKEditor的整个部分在焦点上有一个边框,类似于您如何在Stackoverflow上写或回答一个问题。使用一个更老的和一个JSFiddle,我已经走了这么远:
Js
// Set focus and blur listeners for all editors to be created.
CKEDITOR.on( 'instanceReady', function( evt ) {
var editor = evt.editor,
b