我正在尝试在textarea上实现CKEditor,此外还包括Google翻译。避免翻译代码时,CKEditor可以完美地处理文本区域,否则,CKEditor和google翻译无法正常工作。
CKEDITOR.replace( 'ann_matter_ml',
{
toolbar :
[
//['Source'],
['Undo','Redo','Bold','Italic','Underline','StrikeThrough'],
['Cut','Copy','Paste','PasteText','PasteWord'],
['Style'],
['Table','Rule','SpecialChar'], ///['Table','Image','Rule','SpecialChar'],
['Link','Unlink','Anchor','JustifyLeft', 'JustifyCenter', 'JustifyRight', 'JustifyBlock'] //'NumberedList','BulletedList',
],
height: 200,
width: 890
});