cruddy / ace
An ACE editor for Cruddy.
Installs: 202
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
- php: >=5.5.9
- illuminate/support: 5.1 - 5.2
- kalnoy/cruddy: 0.5.*
This package is auto-updated.
Last update: 2024-11-06 21:21:07 UTC
README
ACE editor support for Cruddy with special markdown editor.
Installation
composer require cruddy/ace:~0.5.*
Include a service provider:
'Kalnoy\Cruddy\Ace\AceServiceProvider',
Publish assets and config files:
php artisan vendor:publish --provider="Kalnoy\Cruddy\Ace\AceServiceProvider"
Usage
$schema->code('description')->mode('html');
Setting the height of the editor:
$schema->code('description')->height(300);
Toggling off wordwrap mode:
$schema->code('description')->wordwrap(false);
Markdown editor:
$schema->markdown('description');