2015-09-01 2 views
2

Я пытаюсь загрузить изображения из ckeditor.Bolt cms ckeditor Загрузка изображения

Опция в config, позволяет добавлять изображения из стека.

В документах я не нашел ничего, что связано с загрузкой изображений. Есть ли способ сделать это?

ответ

5

В файле app/config/config.yml вы найдете следующий набор параметров:

wysiwyg: 
    images: false   # Allow users to insert images in the content. 
    anchor: false   # Adds a button to create internal anchors to link to. 
    tables: false   # Adds a button to insert and modify tables in the content. 
    fontcolor: false   # Allow users to mess around with font coloring. 
    align: false    # Adds buttons for 'align left', 'align right', etc. 
    subsuper: false   # Adds buttons for subscript and superscript, using `<sub>` and `<sup>`. 
    embed: false    # Allows the user to insert embedded video's from Youtube, Vimeo, etc. 
    underline: false   # Adds a button to underline text, using the `<u>`-tag. 
    ruler: false    # Adds a button to add a horizontal ruler, using the `<hr>`-tag. 
    strike: false   # Adds a button to add stikethrough, using the `<s>`-tag. 
    blockquote: false  # Allows the user to insert code snippets using `<pre><code>`-tags. 
    codesnippet: false  # Allows the user to insert blockquotes using the `<blockquote>`-tag. 
    specialchar: false  # Adds a button to insert special chars like '€' or '™'. 

Вы просто хотите установить images: true и расскажет CKEditor, чтобы включить плагин изображения.

+0

Это позволяет загружать изображения из стека на CKeditor. Я хочу также иметь возможность загружать изображения, а не только выбирать их из стека. –

+0

Стек или каталог 'files /'. – Gawain

+0

Если вы хотите загрузить набор изображений, которыми можно управлять с помощью 'File Management -> Uploaded Files' – Gawain