Forums / National / Russian / Тех. поддержка / не вставляются изображения

uznik73
#33080 2012-02-08 14:37
#33077 ProFF: 

Ответьте тогда на такой вопрос - есть ли в CKEditor функция hide или "читать далее" ? На подобии тега more ?

В файл ../plugins/ckeditor/ckeditor/config.js вставляешь код ниже, а в ../plugins/ckeditor/ckeditor/plugins закидываешь плагин more

/*
Copyright (c) 2003-2009, CKSource - Frederico Knabben. All rights reserved.
For licensing, see LICENSE.html or http://ckeditor.com/license
*/

CKEDITOR.editorConfig = function( config )
{
    // Define changes to default configuration here. For example:
    // config.language = 'fr';
    // config.uiColor = '#AADC6E';
	config.autoUpdateElement = true;  // defaul - true; :) 
	config.colorButton_enableMore = true;   // default - false
    config.skin = 'office2003';

	config.extraPlugins = 'mediaembed,code,more';
	
	config.toolbar_Administrator =
    [
        ['Source','-','Save','NewPage','Preview','-','Templates'],
        ['Cut','Copy','Paste','PasteText','PasteFromWord','-','Print', 'SpellChecker', 'Scayt'],
        ['Undo','Redo','-','Find','Replace','-','SelectAll','RemoveFormat'], ['Code','More'],
        
        '/',
        ['Bold','Italic','Underline','Strike','-','Subscript','Superscript'],
        ['NumberedList','BulletedList','-','Outdent','Indent','Blockquote'],
        ['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock'],
        ['Link','Unlink','Anchor'],
        ['Image','Flash','MediaEmbed','Table','HorizontalRule','Smiley','SpecialChar','PageBreak'],
        '/',
        ['Styles','Format','Font','FontSize'],
        ['TextColor','BGColor'],
        ['Maximize', 'ShowBlocks','-','About']

    ];

    config.toolbar = 'Administrator';
	config.disableNativeSpellChecker = true;
    config.removePlugins = 'contextmenu';	

};

А про парсер скорее всего в настройках конфликт какой то, в сиене нужно выбрать каким парсером пользоваться, если нужен html то заходишь в /admin.php?m=other&p=bbcode и внизу есть ссылки, конвертируешь страницы коменты форумы и прочее в html

в парсере html проверь редактор разметки..

Sorry for my poor English