stinger/ckeditor-floatingpanel-bundle

Symfony2 Bundle 用于集成 CKEditor 插件 Floating Panel

安装: 9

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 4

分支: 0

开放问题: 0

语言:JavaScript

类型:symfony-bundle

dev-master 2016-01-13 08:55 UTC

This package is auto-updated.

Last update: 2024-09-07 19:04:55 UTC


README

Symfony2 Bundle 用于集成 CKEditor 插件 Floating Panel

当前版本

FloatingPanel v4.5.6

安装

将捆绑包添加到您的 composer.json 文件中

// composer.json

{
    "require": {
		// ...
        "stinger/ckeditor-floatingpanel-bundle": "~4.5.6"
    }
}

将捆绑包添加到您的应用程序内核

// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Stinger\CKEditorFloatingPanelBundle\StingerCKEditorFloatingPanelBundle(),
        // ...
    );
}

使用 Composer 下载捆绑包

$ php composer.phar update stinger/ckeditor-floatingpanel-bundle

安装资产

假设您的服务器公共目录名为 "web",安装公共供应商资源

$ php app/console assets:install web

可选地,使用 --symlink 属性创建链接而不是资源的副本

$ php app/console assets:install --symlink web

使用方法

trsteel_ckeditor:
    external_plugins:
      floatingpanel:
        path: 'bundles/stingerckeditorfloatingpanel'

许可证

有关许可证信息,请参阅包含文件的源代码

参考

  1. https://ckeditor.npmjs.net.cn/addon/floatpanel
  2. https://symfony.com.cn