From 107d83bbd5ab60ed12993ae674780a01a85f5f8f Mon Sep 17 00:00:00 2001 From: Quan Weiwei Date: Fri, 10 May 2019 12:19:10 +0800 Subject: [PATCH 1/4] add tuieditor recipe --- .../1.0/config/packages/teebb_tuieditor.yaml | 27 +++++++++++++++++++ .../tuieditor-bundle/1.0/manifest.json | 8 ++++++ 2 files changed, 35 insertions(+) create mode 100644 teebbstudios/tuieditor-bundle/1.0/config/packages/teebb_tuieditor.yaml create mode 100644 teebbstudios/tuieditor-bundle/1.0/manifest.json diff --git a/teebbstudios/tuieditor-bundle/1.0/config/packages/teebb_tuieditor.yaml b/teebbstudios/tuieditor-bundle/1.0/config/packages/teebb_tuieditor.yaml new file mode 100644 index 00000000..c9be64a5 --- /dev/null +++ b/teebbstudios/tuieditor-bundle/1.0/config/packages/teebb_tuieditor.yaml @@ -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' + diff --git a/teebbstudios/tuieditor-bundle/1.0/manifest.json b/teebbstudios/tuieditor-bundle/1.0/manifest.json new file mode 100644 index 00000000..2ffd3e9f --- /dev/null +++ b/teebbstudios/tuieditor-bundle/1.0/manifest.json @@ -0,0 +1,8 @@ +{ + "bundles": { + "Teebb\\TuiEditorBundle\\TeebbTuiEditorBundle": ["all"] + }, + "copy-from-recipe": { + "config/": "%CONFIG_DIR%/" + } +} From dd6b5ad39911eb82d17e1995a7402e7939c2b5b5 Mon Sep 17 00:00:00 2001 From: Quan Weiwei Date: Fri, 10 May 2019 12:19:21 +0800 Subject: [PATCH 2/4] add tuieditor recipe --- teebbstudios/tuieditor-bundle/1.0/manifest.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/teebbstudios/tuieditor-bundle/1.0/manifest.json b/teebbstudios/tuieditor-bundle/1.0/manifest.json index 2ffd3e9f..2c649f49 100644 --- a/teebbstudios/tuieditor-bundle/1.0/manifest.json +++ b/teebbstudios/tuieditor-bundle/1.0/manifest.json @@ -4,5 +4,6 @@ }, "copy-from-recipe": { "config/": "%CONFIG_DIR%/" - } + }, + "aliases": ["tuieditor", "tui.editor", "tui-editor"] } From 563b24a9d73a33c946679cd5e5ea6c92e86a1ca5 Mon Sep 17 00:00:00 2001 From: Quan Weiwei Date: Fri, 10 May 2019 12:38:46 +0800 Subject: [PATCH 3/4] delete alias --- teebbstudios/tuieditor-bundle/1.0/manifest.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/teebbstudios/tuieditor-bundle/1.0/manifest.json b/teebbstudios/tuieditor-bundle/1.0/manifest.json index 2c649f49..2ffd3e9f 100644 --- a/teebbstudios/tuieditor-bundle/1.0/manifest.json +++ b/teebbstudios/tuieditor-bundle/1.0/manifest.json @@ -4,6 +4,5 @@ }, "copy-from-recipe": { "config/": "%CONFIG_DIR%/" - }, - "aliases": ["tuieditor", "tui.editor", "tui-editor"] + } } From 352e888211f012008c1d7efacca8ec71e66528a1 Mon Sep 17 00:00:00 2001 From: Quan Weiwei Date: Thu, 11 Jul 2019 19:16:49 +0800 Subject: [PATCH 4/4] delete all the commits --- .../1.0/config/packages/teebb_tuieditor.yaml | 19 +++---------------- 1 file changed, 3 insertions(+), 16 deletions(-) diff --git a/teebbstudios/tuieditor-bundle/1.0/config/packages/teebb_tuieditor.yaml b/teebbstudios/tuieditor-bundle/1.0/config/packages/teebb_tuieditor.yaml index c9be64a5..6ce08f33 100644 --- a/teebbstudios/tuieditor-bundle/1.0/config/packages/teebb_tuieditor.yaml +++ b/teebbstudios/tuieditor-bundle/1.0/config/packages/teebb_tuieditor.yaml @@ -1,18 +1,10 @@ +# Read the documentation: https://github.com/teebbstudios/TeebbTuiEditorBundle/blob/master/README.md 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 + to_html: false + exts: - scrollSync - colorSyntax - uml @@ -20,8 +12,3 @@ teebb_tui_editor: - mark - table - -twig: - form_themes: - - '@TeebbTuiEditor/Form/tuieditor_widget.html.twig' -