mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-17 01:56:28 +03:00
add tuieditor recipe
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
teebb_tui_editor:
|
||||
#enable: true # Whether to enable tui.editor.
|
||||
#jquery: true # Whether to enable jquery in dependencies.
|
||||
#jquery_path: ~ # Custom jquery path.
|
||||
#editor_js_path: ~ # Custom tui.editor js path.
|
||||
|
||||
default_config: basic_config
|
||||
|
||||
configs:
|
||||
basic_config:
|
||||
to_html: false # Save to database use html syntax?
|
||||
#previewStyle: 'vertical' # Markdown editor's preview style (tab, vertical)
|
||||
#height: '400px' # Editor's height style value. Height is applied as border-box ex) '300px', '100%', 'auto'
|
||||
#initialEditType: 'markdown' # Initial editor type (markdown, wysiwyg)
|
||||
exts: # exts must defined as array
|
||||
- scrollSync
|
||||
- colorSyntax
|
||||
- uml
|
||||
- chart
|
||||
- mark
|
||||
- table
|
||||
|
||||
|
||||
twig:
|
||||
form_themes:
|
||||
- '@TeebbTuiEditor/Form/tuieditor_widget.html.twig'
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"bundles": {
|
||||
"Teebb\\TuiEditorBundle\\TeebbTuiEditorBundle": ["all"]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/"
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user