CKEditor “HTML Insert” plugin is stripping link tags from the inserted html Solved

User's avatar
Muhammad J. K.
19:45 Jan 22, 2015
Hi, I'm using "DOKSoft Insert HTML" plugin to insert html code without switching to source view.

When I insert my signup form html code through source view then it works fine BUT when I insert the same code using the "Insert HTML Plugin"; then the plugin automatically remove link tags (along other tags) from the inserted html code, which results in broken signup form.

My current Ckeditor settings are:
allowedContent: true,
- fullPage: true,

Please reply at your earliest convenience.

Thanks,
Support team avatar
JS+
07:21 Jan 25, 2015
Hello,
That's rather strange. Could you paste here the code you are trying to insert?
The plugin can insert only the code with one root tag, please remember about this CKEditor's limitation (in next versions we want to avoid that).
Also please check that code
config.allowedContent = true;
really affects. To do this try to insert the code with standard tools and switch visual mode to the source and back. If your code modified in the same way, that means that the option does not work (maybe syntax error?)
User's avatar
Muhammad J. K.
17:00 Jan 25, 2015
Attached is the code I was referring to.

And as I mentioned earlier that my current settings are already set to:
- allowedContent: true,
- fullPage: true,

Please have a look and let me know if there's any way to fix this issue. Thanks
 Mailchimp_Sign_Up_Form_Code.txt   2.34 KB
Support team avatar
JS+
04:25 Jan 26, 2015
I have tested the plugin with your code and have found an issue.
It was filed and the new file with HTML Insert plugin was uploaded to files.doksoft.com.

Please try to update and test it.
Currently it does not removes
<link>
tag and your form seems to be styled as designed.
User's avatar
Muhammad J. K.
14:28 Jan 26, 2015
How I can download the new updated file? Please send it through this message box because no file is appearing under files.doksoft.com. Thanks
Support team avatar
JS+
06:04 Jan 28, 2015
You can download it in the same way as before. Just go to the "My Files" link at the left of the files.doksoft.com and press "Download" for the product. The newest version will be downloaded.
User's avatar
Muhammad J. K.
14:10 Jan 28, 2015
Actually my license has been expired on Jan 2nd, 2015, so there is no option to download the new file. Here's a screenshot: http://i.gyazo.com/b018e0bb5411dea8905c2db544dbfdd4.png
User's avatar
Muhammad J. K.
14:24 Jan 28, 2015
And I do not know whether you have updated the file on your demo page or not but the code is still not working here: http://doksoft.com/soft/ckeditor-html-insert/demo.html
Support team avatar
JS+
06:33 Jan 30, 2015
The demo on our website always is a bit outdated in comparison with release versions.
I will extend your license for a couple of days to give you ability to download the package (it will be done in 1 hour).