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

uznik73
#33080 08.02.2012 14:37
#33077 ProFF: 

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

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

JavaScript
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*
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