代码之家  ›  专栏  ›  技术社区  ›  Adrian

如何使用TYPO3 8.7.X中的ckeditor将图像插入到tx\ U新闻的正文中

  •  0
  • Adrian  · 技术社区  · 7 年前

    rte_ckeditor_image news 插件。我已经完成了手册中描述的所有步骤(创建一个RTE文件夹,向 ext_localconf.php 但添加照片的可能性仍然不存在。

    不会处理的?

    顺便问一下,有没有什么办法 编辑图像

    1 回复  |  直到 7 年前
        1
  •  2
  •   David user10336229    7 年前

    我使用以下配置,即使在新闻中也能正常工作:

    完整图像.yaml

    # Load default processing options  
    imports:
        # Import default RTE config (for example)
        - { resource: "EXT:rte_ckeditor/Configuration/RTE/Full.yaml" }
        # Import the image plugin configuration
        - { resource: "EXT:rte_ckeditor_image/Configuration/RTE/Plugin.yaml" }
    
    # Add configuration for the editor
    # For complete documentation see http://docs.ckeditor.com/#!/api/CKEDITOR.config
    editor:
      config:
        removePlugins: null
      externalPlugins:
          typo3image:
            allowedExtensions: "gif,jpg,jpeg,png,svg"
    

    在ext\u localconf.php中:

    $GLOBALS['TYPO3_CONF_VARS']['RTE']['Presets']['default'] = 'EXT:my_extension/Configuration/RTE/FullAndImage.yaml';
    

    news

    编辑:
    还有一个提示:如果你升级了TYPO3并且仍然有旧编辑器的页面 rte_htmlarea rte_ckeditor

    推荐文章