Closed (won't fix)
Project:
CKEditor 4 - WYSIWYG HTML editor
Version:
6.x-1.14
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
21 Aug 2013 at 00:47 UTC
Updated:
24 Aug 2013 at 13:44 UTC
Comments
Comment #1
jcisio commented"Tokens" are text and not removed by CKEditor. Could you please explain a bit more?
Comment #2
jvieille commentedUpdate:
Token are not stripped when I create a node, they only disappear when I edit the node. The token are removed by CKeditor at the time the node is edited.
If I set CKeditor to be disabled by default, token stay in the text field. As son a s I switch to "rich text editor", the tokens are removed.
Also, only node tokens are removed, global and user tokens do not seem to be affected.
As it is, Token filter does not handle node tokens. I modified this module as discussed here:
https://drupal.org/node/730078#comment-7777011
Comment #3
jcisio commentedWhat do the token and replace text look like?
Comment #4
jvieille commentedBefore CKeditor messes up, a sample text would look like this:
After:
The global token is replaced by its context value [token global site-url] , so it will need to be entered again to keep its function
The node token is simply erased
Comment #5
jcisio commentedIt looks like in CKEditor XSS Filter (ckeditor_filter_xss), the Token Filter is used, nevertheless it should not.
Comment #6
jvieille commentedWhat that means, what can I do?
Comment #7
jvieille commentedIs there any fix for this?
Comment #8
jcisio commented#5 is a starting point. You'll have to debug the code.
Comment #9
jvieille commentedWich one is the culprit, CKeditor, or Token filter?
Comment #10
jvieille commentedOK I give up the Token filter buggy module.
Also, this approach does not seem appropriate to render token information through rules (token in token will certainly never work).
Thanks for the directions, they were helpful.