Post by StreamAlex » Mon Nov 21, 2016 9:32 pm

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.
Last edited by StreamAlex on Tue Nov 22, 2016 8:08 pm, edited 1 time in total.

Newbie

Posts

Joined
Mon Oct 31, 2016 4:30 pm

Post by IP_CAM » 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

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland

Post by StreamAlex » Tue Nov 22, 2016 6:25 pm

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?

Newbie

Posts

Joined
Mon Oct 31, 2016 4:30 pm

Post by StreamAlex » Tue Nov 22, 2016 8:07 pm

Just wanted to point out that it worked with CK Editor.

Thanks again!

Newbie

Posts

Joined
Mon Oct 31, 2016 4:30 pm

Post by suraj_sella » Sun Jan 28, 2018 9:27 pm

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.

User avatar
New member

Posts

Joined
Wed Nov 22, 2017 3:57 pm

Post by IP_CAM » Sun Feb 17, 2019 1:58 pm

Well, find here, what you're looking for.
Good Luck!
Ernie
https://www.opencart.com/index.php?rout ... load_id=55

My Github OC Site: https://github.com/IP-CAM
5'600 + FREE OC Extensions, on the World's largest private Github OC Repository Archive Site.


User avatar
Legendary Member

Posts

Joined
Tue Mar 04, 2014 1:37 am
Location - Switzerland
Who is online

Users browsing this forum: No registered users and 61 guests