首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Bolt cms ckeditor镜像上传

Bolt cms ckeditor镜像上传
EN

Stack Overflow用户
提问于 2015-09-01 18:09:03
回答 1查看 691关注 0票数 2

我正在尝试从ckeditor上传图片。

config中的选项只允许您从堆栈中添加镜像。

在文档中,我没有找到任何与上传图像相关的内容。有没有办法做到这一点?

EN

回答 1

Stack Overflow用户

发布于 2015-09-01 19:03:07

app/config/config.yml文件中,您可以找到以下选项集:

代码语言:javascript
复制
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启用图像插件。

票数 7
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/32328912

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档