Opened 11 years ago
Closed 11 years ago
#10638 closed New Feature (invalid)
HTML entities in custom dropdown
Reported by: | Spire | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 4.1 |
Keywords: | Cc: |
Description
Hi
We are using custom dropdown plugin with HTML entities in dropdown values, e.g. "<<H1\Field1>>". But when we select the corresponding field in dropdown, we get the javascript error "Uncaught TypeError: Cannot call method 'hasClass' of null".
We are using free version of CKEditor 4.1.
Please help.
Thanks
Change History (2)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Please use below two things:
- Use this
["<H1Field1>", "Field1", "Field1"]
to initialize dropdown - In plugin onClick method use
editor.insertText();
This is how you can insert entities.
FYI , We are adding the dropdown element as ["<<H1\Field1>>", "Field1", "Field1"]