[geeklog-hg] geeklog: Disable Advanced Content Filter of CKEditor
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Sun Jan 19 10:52:10 EST 2014
changeset 9432:1c271949d00d
url: http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/1c271949d00d
user: dengen <taharaxp at gmail.com>
date: Mon Jan 20 00:51:44 2014 +0900
description:
Disable Advanced Content Filter of CKEditor
diffstat:
public_html/editors/ckeditor/config.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diffs (13 lines):
diff -r 64e171399ce1 -r 1c271949d00d public_html/editors/ckeditor/config.js
--- a/public_html/editors/ckeditor/config.js Tue Jan 14 21:56:29 2014 +0900
+++ b/public_html/editors/ckeditor/config.js Mon Jan 20 00:51:44 2014 +0900
@@ -8,6 +8,9 @@
// config.language = 'fr';
// config.uiColor = '#AADC6E';
+ // Disable Advanced Content Filter
+ config.allowedContent = true;
+
config.protectedSource.push(/<pre[\s\S]+?\/pre>/g);
config.protectedSource.push(/\[code[^:][\s\S]+?\/code\]/g);
config.protectedSource.push(/\[code:[a-z0-9_]+[\s\S]+?\/code:[a-z0-9_]+\]/g);
More information about the geeklog-cvs
mailing list