承接 fulgurio/light-cms-tinymce-bundle 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

fulgurio/light-cms-tinymce-bundle

Composer 安装命令:

composer require fulgurio/light-cms-tinymce-bundle

包简介

Tinymce module of LigthCMS bundle

README 文档

README

TinyMCE bundle for LightCMS. If you like TinyMCE as wysiwyg editor, this bundle will be usefull for LightCMS.

Installation

First, you need to install LightCMS if you don't already have it. Take a look on LightCMS bundle projet on github.

After that, you need to install LightCMSTinyMCEBundle. It's easy :

  1. Download FulgurioLightCMSBundle and dependent bundles
  2. Configure the Autoloader
  3. Enable the Bundle
  4. Configure your yml files to use TinyMCE as editor
  5. Configure TinyMCE as well

Step 1: Download FulgurioLightCMSBundle and dependent bundles

Add the following lines in your deps file (you can do at the same time of DoctrineFixturesBundle):

[LightCMSTinyMCEBundle]
    git=http://github.com/fulgurio/LightCMSTinyMCEBundle.git
    target=/bundles/Fulgurio/LightCMSTinyMCEBundle

Just download the bundle with vendors loading tool :

$ php bin/vendors install

Step 2: Configure the Autoloader

Add the Fulgurio\\LightCMSTinyMCEBundle namespace to your autoloader:

<?php
// app/autoload.php

$loader->registerNamespaces(array(
    // ...
    'Fulgurio\\LightCMSTinyMCEBundle' => __DIR__.'/../vendor/bundles',
));

Step 3: Enable the bundle

Finally, enable the bundle in the kernel:

<?php
// app/AppKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Fulgurio\LightCMSTinyMCEBundle\FulgurioLightCMSTinyMCEBundle(),
    );
}

Step 4: Configure your yml files

You need to configure LightCMSBundle. Add or complete the following lines into your config.yml file

fulgurio_light_cms:
    wysiwyg: fulgurio_light_cms_tiny_mce

That's all ! Clear your cache, and take a look at admin page of LightCMS. Now you have TinyMCE installed !

Step 5: Configure TinyMCE as well

Ok, TinyMCE is installed, may be you want to limit options. Just add and change the followed lines :

fulgurio_light_cms_tiny_mce:
    config:
        content_css:      bundles/mybundle/css/styles-tinymce.css
        plugins:          autolink,lists,spellchecker,style,layer,table,advhr,advimage,advlink,emotions,iespell,inlinepopups,media,contextmenu,paste,directionality,noneditable,visualchars,nonbreaking,xhtmlxtras,template
        theme_advanced_buttons1: bold,italic,underline,|,bullist,numlist,|,link,unlink,|,image,code,|,formatselect
        theme_advanced_buttons2: 
        theme_advanced_buttons3: 

If you know TinyMCE, you know that you can change the loaded plugin and the display of tools. As you can see, you can add or remove plugins in

        plugins:          autolink,lists,spellchecker,style,layer,table,advhr,advimage,advlink,emotions,iespell,inlinepopups,media,contextmenu,paste,directionality,noneditable,visualchars,nonbreaking,xhtmlxtras,template

line and the tools in

        theme_advanced_buttons1: bold,italic,underline,|,bullist,numlist,|,link,unlink,|,image,code,|,formatselect
        theme_advanced_buttons2: 
        theme_advanced_buttons3: 

Easy !

Last config : usually, you forget to put the same style of front page into your admin. Here, you can put the same stylesheet into the editor with the line

        content_css:      bundles/mybundle/css/styles-tinymce.css

where bundles/mybundle/css/styles-tinymce.css is the loaded css file by TinyMCE

If the page link are pink into your content, just put the style class into this file to display link with pink color.

fulgurio/light-cms-tinymce-bundle 适用场景与选型建议

fulgurio/light-cms-tinymce-bundle 是一款 基于 JavaScript 开发的 Composer 扩展包,目前已累计 14 次下载、GitHub Stars 达 0, 最近一次更新时间为 2015 年 05 月 02 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「wysiwyg editor」 「lightcms」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 fulgurio/light-cms-tinymce-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 fulgurio/light-cms-tinymce-bundle 我们能提供哪些服务?
定制开发 / 二次开发

基于 fulgurio/light-cms-tinymce-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 14
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 16
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: JavaScript

其他信息

  • 授权协议: GPL-1.0-or-later
  • 更新时间: 2015-05-02