Download the PHP package sharemant/laravel-admin-ext-editormd without Composer
On this page you can find all versions of the php package sharemant/laravel-admin-ext-editormd. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sharemant/laravel-admin-ext-editormd
More information about sharemant/laravel-admin-ext-editormd
Files in sharemant/laravel-admin-ext-editormd
Package laravel-admin-ext-editormd
Short Description EditorMd(V.1.5.0) for laravel-admin.
License MIT
Homepage https://github.com/laravel-admin-ext/editormd
Informations about the package laravel-admin-ext-editormd
EditorMD extension for laravel-admin
This is a laravel-admin
extension that integrates EditorMD into the laravel-admin
form.
To adopt to laravel-admin, I made some tiny changes in editormd aseets.
Please feel free to contact me if you encounter any difficulties when you use this extension.
Screenshot
Installation
Configuration
In the extensions
section of the config/admin.php
file, add some configuration that belongs to this extension.
Example
Notice
The config
(PHP array grammar) and configJS
(Javascript object grammar) options will be merged into a new JavaScript object.
You can set the configuration in the grammar you prefer.
If you write a configuration item that corresponds to a static value, best practice is to use the PHP array syntax.
Instead, when it comes to Editor's listen function, you are left with the option of using JS's object syntax.
Default configuration list
If you want to enable more functions of EditorMd , you could add the following configurations to your config.
The configuration of the editor can be found in EditorMD Documentation.
Usage
Use it in the form form:
ChangeLog
2020-07-18(East 8 time)
fix: fix the bug that the associated properties of the model are not available.
feat: support JS Configuration Editor mode. (support for editor event monitoring)
feat: redesign the UI of the component to be consistent with Laravel-admin.
docs: improve basic documentation
docs: add Chinese readme document.
License
Licensed under The MIT License (MIT).