2016-12-23 8 views
0

это assmbly в верхней части страницы:как скрыть всю панель инструментов в CKEditor в C#

<%@ Register Assembly="CKEditor.NET" Namespace="CKEditor.NET" TagPrefix="CKEditor" %> 

это является:

<CKEditor:CKEditorControl ID="CKEditor1" BasePath="/ckeditor/" runat="server" EditingBlock="true" toolbar="emptyToolbar" ></CKEditor:CKEditorControl> 

здесь является config.js:

CKEDITOR.editorConfig = function (config) { 
    // Define changes to default configuration here. 
    // For complete reference see: 
    // http://docs.ckeditor.com/#!/api/CKEDITOR.config 

    // The toolbar groups arrangement, optimized for a single toolbar row. 
    config.toolbarGroups = [ 
     { name: 'document', groups: ['mode', 'document', 'doctools'] }, 
     { name: 'clipboard', groups: ['clipboard', 'undo'] }, 
     { name: 'editing', groups: ['find', 'selection', 'spellchecker'] }, 
     { name: 'forms' }, 
     { name: 'basicstyles', groups: ['basicstyles', 'cleanup'] }, 
     { name: 'paragraph', groups: ['list', 'indent', 'blocks', 'align', 'bidi'] }, 
     { name: 'links' }, 
     { name: 'insert' }, 
     { name: 'styles' }, 
     { name: 'colors' }, 
     { name: 'tools' }, 
     { name: 'others' }, 
     { name: 'about' } 
    ]; 

    // The default plugins included in the basic setup define some buttons that 
    // are not needed in a basic editor. They are removed here. 
    config.removeButtons = 'Cut,Copy,Paste,Undo,Redo,Anchor,Underline,Strike,Subscript,Superscript'; 

    // Dialog windows are also simplified. 
    config.removeDialogTabs = 'link:advanced'; 



}; 

что мне делать?

как отключить всю панель инструментов ?? как скрыть всю панель инструментов ckeditor..I хочу только textarea редактора ck.

ответ

0

Добавить эту эту строку, чтобы config.js файл

config.removePlugins= 'toolbar'; 

Обновлено

Использование CSS

<head> 
    <style> 
     .cke_top { display: none !important } 
    </style> 
    </head> 
+0

не работает ... все шкурку .. текстовой – mmmmm

+0

любой другой решение? – mmmmm

+0

BOLD, I,?.:. ВСЕ ЭТИ ВЕЩИ ШОУ..SO, как скрыть ??? – mmmmm