Page 1 of 1
[SOLVED] <form> tag stripped/removed in editor after saving?
Posted: Mon Nov 21, 2016 9:32 pm
by StreamAlex
I have a problem where a <form> tag is removed after saving an information page. When I go back to edit the page the <form> tag is gone.
I want to add a Get A Newsletter form and they look like this:
Code: Select all
<form method="POST" action="http://gansub.com/s/dasadasdas/">
<label for="email">Email</label>
<input type="text" id="email" name="email" />
<label for="first_name">First name</label>
<input type="text" id="first_name" name="first_name" />
<label for="last_name">Last name</label>
<input type="text" id="last_name" name="last_name" />
<input type="hidden" name="gan_repeat_email" />
<input type="submit" value="Prenumerera" />
</form>
But since the form tag is removed it doesn't work.
How do I get the editor to accept it?
I use OpenCart 2.3.0.2.
Re: <form> tag stripped / removed in editor after saving?
Posted: Tue Nov 22, 2016 4:17 am
by IP_CAM
Then, try this fine Tool, it replaces the poorly working Summernote Editor with the legendary
Admin CK Editor, but it does NOT replace any existing Summernote Files, it's placed
in it's own subdirectory, and it uses a VqMod to link it. So, a possible removal would be very easy to achieve again:
Extension replaces all instances of Summernote with full version of CKEditor
https://www.opencart.com/index.php?rout ... n_id=27373
According to Comments, it seems to work well in OC v.2.3.x Versions also.
Good Luck
Ernie
Re: <form> tag stripped / removed in editor after saving?
Posted: Tue Nov 22, 2016 6:25 pm
by StreamAlex
IP_CAM wrote:Then, try this fine Tool, it replaces the poorly working Summernote Editor with the legendary
Admin CK Editor, but it does NOT replace any existing Summernote Files
https://www.opencart.com/index.php?rout ... n_id=27373
According to Comments, it seems to work well in OC v.2.3.x Versions also.
Good Luck
Ernie
Thank you! So does CK Editor accept the form tag and don't strip/remove it?
Re: <form> tag stripped / removed in editor after saving?
Posted: Tue Nov 22, 2016 8:07 pm
by StreamAlex
Just wanted to point out that it worked with CK Editor.
Thanks again!
Re: <form> tag stripped / removed in editor after saving?
Posted: Sun Jan 28, 2018 9:27 pm
by suraj_sella
IP_CAM wrote: ↑Tue Nov 22, 2016 4:17 am
Then, try this fine Tool, it replaces the poorly working Summernote Editor with the legendary
Admin CK Editor, but it does NOT replace any existing Summernote Files, it's placed
in it's own subdirectory, and it uses a VqMod to link it. So, a possible removal would be very easy to achieve again:
Extension replaces all instances of Summernote with full version of CKEditor
https://www.opencart.com/index.php?rout ... n_id=27373
According to Comments, it seems to work well in OC v.2.3.x Versions also.
Good Luck
Ernie
No support for OC 3? I'm facing same problem with summernote in OC 3.0.2.0. Can't i edit code to enable summernote form tag retention? Or what would be a good OC 3 alternative text editor? Please guide.
Re: [SOLVED] <form> tag stripped/removed in editor after saving?
Posted: Sun Feb 17, 2019 1:58 pm
by IP_CAM
Well, find here, what you're looking for.
Good Luck!
Ernie
https://www.opencart.com/index.php?rout ... load_id=55