Skip to content

Commit 3fafd74

Browse files
committed
0.1.8
1 parent c774543 commit 3fafd74

File tree

3 files changed

+29
-14
lines changed

3 files changed

+29
-14
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
.DS_Store
2121
node_modules
2222
composer.lock
23-
composer.local.json
23+
composer.json.dev
2424
public/vendor/
2525
public/uploads/
2626
###< local ###

config/packages/teebb_core.yaml

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,10 @@ teebb_core:
5050
nestable:
5151
js_path: vendor/nestable/jquery.nestable.js
5252

53+
highlight:
54+
js_path: bundles/teebbcore/ckeditor-plugins/codesnippet/lib/highlight/highlight.pack.js
55+
css_path: bundles/teebbcore/ckeditor-plugins/codesnippet/lib/highlight/styles/dark.css
56+
5357
oneup_flysystem:
5458
adapters:
5559
public_dir_adapter:
@@ -88,37 +92,45 @@ liip_imagine:
8892
allow_upscale: true
8993

9094
fos_ck_editor:
91-
default_config: full
95+
default_config: standard
9296
configs:
9397
full:
9498
toolbar: full
95-
extraPlugins: "uploadfile, uploadimage"
99+
extraPlugins: "codesnippet, uploadfile, uploadimage"
96100
uploadUrl: /file/upload
97101
imageUploadURL: /file/upload
98102
filebrowserUploadUrl: /file/upload
99103
filebrowserFlashUploadUrl: /file/upload
100104
filebrowserImageUploadUrl: /file/upload
101-
105+
codeSnippet_theme: 'default'
102106
standard:
103107
toolbar: standard
104-
extraPlugins: "uploadfile, uploadimage"
108+
extraPlugins: "codesnippet, uploadfile, uploadimage"
105109
uploadUrl: /file/upload
106110
imageUploadURL: /file/upload
107111
filebrowserUploadUrl: /file/upload
108112
filebrowserFlashUploadUrl: /file/upload
109113
filebrowserImageUploadUrl: /file/upload
114+
codeSnippet_theme: 'default'
110115

111116
basic:
112117
toolbar: basic
113118

114119
plugins:
120+
codesnippet:
121+
path: /bundles/teebbcore/ckeditor-plugins/codesnippet/
122+
filename: plugin.js
115123
uploadfile:
116124
path: /bundles/teebbcore/ckeditor-plugins/uploadfile/
117125
filename: plugin.js
118126
uploadimage:
119127
path: /bundles/teebbcore/ckeditor-plugins/uploadimage/
120128
filename: plugin.js
121129

130+
toolbars:
131+
items:
132+
'full.tools': ['Maximize', 'ShowBlocks', 'CodeSnippet'],
133+
'standard.tools': ['Maximize', 'CodeSnippet'],
122134

123135
doctrine:
124136
orm:

symfony.lock

Lines changed: 12 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@
107107
"fig/link-util": {
108108
"version": "1.1.1"
109109
},
110+
"friendsofphp/proxy-manager-lts": {
111+
"version": "v1.0.0"
112+
},
110113
"friendsofsymfony/ckeditor-bundle": {
111114
"version": "2.0",
112115
"recipe": {
@@ -152,6 +155,15 @@
152155
"knplabs/knp-time-bundle": {
153156
"version": "v1.13.0"
154157
},
158+
"laminas/laminas-code": {
159+
"version": "3.5.1"
160+
},
161+
"laminas/laminas-eventmanager": {
162+
"version": "3.3.0"
163+
},
164+
"laminas/laminas-zendframework-bridge": {
165+
"version": "1.1.1"
166+
},
155167
"league/flysystem": {
156168
"version": "1.0.69"
157169
},
@@ -192,9 +204,6 @@
192204
"ocramius/package-versions": {
193205
"version": "1.5.1"
194206
},
195-
"ocramius/proxy-manager": {
196-
"version": "2.2.3"
197-
},
198207
"oneup/flysystem-bundle": {
199208
"version": "3.0",
200209
"recipe": {
@@ -672,11 +681,5 @@
672681
},
673682
"willdurand/negotiation": {
674683
"version": "v2.3.1"
675-
},
676-
"zendframework/zend-code": {
677-
"version": "3.4.1"
678-
},
679-
"zendframework/zend-eventmanager": {
680-
"version": "3.2.1"
681684
}
682685
}

0 commit comments

Comments
 (0)