开发者

Does CKEditor have a setting to inform the server of its use?

开发者 https://www.devze.com 2023-03-08 21:55 出处:网络
Is there a setting in CKEditor that has it add a hidden input field saying something like \"ckeditor\" = \"1\"?

Is there a setting in CKEditor that has it add a hidden input field saying something like "ckeditor" = "1"?

Basically I want to detect (server side) when it's used and when it isn't. I can obviously do this with javascript, but I figured if a开发者_C百科n "official" method existed, that I'd try to make use of it first.

I've been searching through Google and the CKEditor docs, with no luck. Just wanted to make sure I haven't missed it.


No, there isn't any such setting (I don't really know how it can be useful, but that's not the question).

You should do it with a little javascript that creates or changes a hidden input.

0

精彩评论

暂无评论...
验证码 换一张
取 消