ns/simplemde-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

ns/simplemde-bundle

最新稳定版本:1.0.5

Composer 安装命令:

composer require ns/simplemde-bundle

包简介

This bundle provides the simplemde markdown editor and forms to a symfony bundle

README 文档

README

This bundle provides the simplemde markdown editor

Installation

Add the bundle to your composer.json file:

require: {
    // ...
    "ns/simplemde-bundle": "dev-master" // or use a tag from packagist.org
    // ...
}

Register the bundle with your kernel:

<?php
// in AppKernel::registerBundles()
$bundles = array(
    // ...
    new NS\SimpleMDEBundle\NSSimpleMDEBundle(),
    // ...
);

Add the JS and CSS links to relevant pages

{% block stylesheets %}
    {{ parent() }}
    <link rel="stylesheet" type="text/css" id="'+ssId+'" href="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.css" crossorigin="anonymous" />
{% endblock %}

{% block javascripts %}
    {{ parent() }}
    <script type="text/javascript" id="'+jsId+'" src="https://cdn.jsdelivr.net/simplemde/latest/simplemde.min.js" crossorigin="anonymous"></script>
{% endblock %}

Then you can use it as a form type with MarkdownEditorType::class type hint.

统计信息

  • 总下载量: 7.43k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 3
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-11-01

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固