Skip to content

Commit 2aa91c1

Browse files
committed
0.1.1 version
1 parent 56c4ac1 commit 2aa91c1

File tree

4 files changed

+32
-2
lines changed

4 files changed

+32
-2
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#CHANGELOG
2+
3+
0.1.1:
4+
1. fosckeditorbundle 添加文件图片拖拽上传和图片上传功能
5+
2. 用户组权限调整,不同用户组可设置不同的ckeditor工具栏配置
6+
3. 文本、长文本字段默认过滤所有HTML标签

config/packages/teebb_core.yaml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,14 +257,38 @@ liip_imagine:
257257
allow_upscale: true
258258

259259
fos_ck_editor:
260+
default_config: full
260261
configs:
261262
full:
262263
toolbar: full
264+
extraPlugins: "uploadfile, uploadimage"
265+
uploadUrl: /file/upload
266+
imageUploadURL: /file/upload
267+
filebrowserUploadUrl: /file/upload
268+
filebrowserFlashUploadUrl: /file/upload
269+
filebrowserImageUploadUrl: /file/upload
270+
263271
standard:
264272
toolbar: standard
273+
extraPlugins: "uploadfile, uploadimage"
274+
uploadUrl: /file/upload
275+
imageUploadURL: /file/upload
276+
filebrowserUploadUrl: /file/upload
277+
filebrowserFlashUploadUrl: /file/upload
278+
filebrowserImageUploadUrl: /file/upload
279+
265280
basic:
266281
toolbar: basic
267282

283+
plugins:
284+
uploadfile:
285+
path: /bundles/teebbcore/ckeditor-plugins/uploadfile/
286+
filename: plugin.js
287+
uploadimage:
288+
path: /bundles/teebbcore/ckeditor-plugins/uploadimage/
289+
filename: plugin.js
290+
291+
268292
doctrine:
269293
orm:
270294
entity_managers:

config/routes/teebb_core.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ _teebb_taxonomy:
2323

2424
_teebb_file:
2525
resource: "@TeebbCoreBundle/Resources/config/routing/file.xml"
26-
prefix: /admin
26+
2727

2828
_teebb_formatter:
2929
resource: "@TeebbCoreBundle/Resources/config/routing/formatter.xml"

config/services.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
parameters:
77
locale: 'zh_CN'
88
fly_system_service: oneup_flysystem.public_dir_filesystem_filesystem
9-
fly_system_host: 'http://localhost:8000'
9+
fly_system_host: 'http://127.0.0.1:8000'
1010

1111
services:
1212
# default configuration for services in *this* file

0 commit comments

Comments
 (0)