sau / md-editor-bundle
MDEditor for Symfony
Installs: 35
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 24
Language:Vue
Type:symfony-bundle
Requires
- php: ^7.1.3
- dev-master
- 0.1.2
- 0.1.1
- 0.1.0
- dev-dependabot/npm_and_yarn/json5-1.0.2
- dev-dependabot/npm_and_yarn/express-4.18.2
- dev-dependabot/npm_and_yarn/qs-6.5.3
- dev-dependabot/npm_and_yarn/decode-uri-component-0.2.2
- dev-dependabot/npm_and_yarn/terser-4.8.1
- dev-dependabot/npm_and_yarn/eventsource-1.1.1
- dev-dependabot/npm_and_yarn/url-parse-1.5.10
- dev-dependabot/npm_and_yarn/follow-redirects-1.14.8
- dev-dependabot/npm_and_yarn/ajv-6.12.6
- dev-dependabot/npm_and_yarn/node-sass-7.0.0
- dev-dependabot/npm_and_yarn/marked-4.0.10
- dev-dependabot/npm_and_yarn/path-parse-1.0.7
- dev-dependabot/npm_and_yarn/ws-6.2.2
- dev-dependabot/npm_and_yarn/dns-packet-1.3.4
- dev-dependabot/npm_and_yarn/browserslist-4.16.6
- dev-dependabot/npm_and_yarn/hosted-git-info-2.8.9
- dev-dependabot/npm_and_yarn/lodash-4.17.21
- dev-dependabot/npm_and_yarn/ssri-6.0.2
- dev-dependabot/npm_and_yarn/y18n-3.2.2
- dev-dependabot/npm_and_yarn/elliptic-6.5.4
- dev-dependabot/npm_and_yarn/ini-1.3.7
- dev-dependabot/npm_and_yarn/http-proxy-1.18.1
- dev-dependabot/npm_and_yarn/websocket-extensions-0.1.4
- dev-dependabot/npm_and_yarn/acorn-6.4.1
This package is auto-updated.
Last update: 2024-11-04 13:14:39 UTC
README
Simple markdown editor for Symfony
Install
composer require sau/md-editor-bundle bin/console assets:install --symlink --relative
If Symfony 4, add in config/bundles.php
:
Sau\Bundle\MDEditor\MDEditorBundle::class => ['all' => true],
Add form in twig:
twig: form_themes: - '@MDEditor/type/md-editor.html.twig'
and adding scripts/styles to your template
{{asset('bundles/mdeditor/md-editor.js')}} {{asset('bundles/mdeditor/runtime.js')}} {{asset('bundles/mdeditor/md-editor.css')}}
if using sonata-admin-bundle add configs to
sonata_admin: assets: extra_javascripts: - bundles/mdeditor/md-editor.js - bundles/mdeditor/runtime.js extra_stylesheets: - bundles/mdeditor/md-editor.css