Post by Joe1234 » Sat Feb 11, 2023 11:14 pm

Is there something I can do that will allow me to save the Information while in code view? I generally do my edits there and it's driving me insane to constantly need to switch out of code view to save edits.
Last edited by Joe1234 on Tue Feb 14, 2023 12:47 am, edited 1 time in total.

v3.0.4.0 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.


Active Member

Posts

Joined
Sat Jan 01, 2022 5:47 am

Post by JNeuhoff » Sun Feb 12, 2023 12:18 am

It's a known issue, but someone posted a possible solution or workaround on github:
https://github.com/summernote/summernote/issues/3578

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by JNeuhoff » Sun Feb 12, 2023 2:22 am

@ADD Creative : Maybe we can put one of these solutions into the 3.0.x.x_Maintenance branch ? I'll have to try it out myself to see how they work.

Export/Import Tool * SpamBot Buster * Unused Images Manager * Instant Option Price Calculator * Number Option * Google Tag Manager * Survey Plus * OpenTwig


User avatar
Guru Member
Online

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by Joe1234 » Mon Feb 13, 2023 1:51 pm

@ADD Creative, that's not working...for me. I added the code just before the last closing braces as the instructions state, but nothing happens.
@JNeuhoff, No luck with that either as I don't know where to place the code. I inserted it the same place ADD said to add his code.

v3.0.4.0 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.


Active Member

Posts

Joined
Sat Jan 01, 2022 5:47 am

Post by ADD Creative » Mon Feb 13, 2023 5:27 pm

Try clearing your browser cache and check the admin/view/javascript/summernote/opencart.js file loaded by you web browser has the changes. You can do this in the network tab of your web browser's developer tool.

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by Joe1234 » Mon Feb 13, 2023 10:09 pm

EXCELLENT, thanks, all good now. Are javascript files unable to be edited through OCMOD?....it seems I cant upload and overwrite the file through OCMOD either.

Side question, since I was looking at the development tools I saw I was getting a 404 with the summernote files coming from line 7 of the opencart.js file.
https://........./admin/view/javascript/summernote/lang/summernote-en-US,en_US.UTF-8,en_US,en-gb,english-EN-US,EN_US.UTF-8,EN_US,EN-GB,ENGLISH.min.js?_=1676296340506

I checked the default install zip and it's not in there either. Is it something I should be commenting out?

v3.0.4.0 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.


Active Member

Posts

Joined
Sat Jan 01, 2022 5:47 am

Post by ADD Creative » Mon Feb 13, 2023 10:50 pm

I think it's a bug. Probabbly fixed in the 3.0.x.x_Maintenance on GitHub.

https://github.com/opencart/opencart/issues/10259
https://github.com/opencart/opencart/pull/10275

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by Joe1234 » Tue Feb 14, 2023 12:47 am

Thanks.

v3.0.4.0 php 8.1
I'm here for a reason, if your response is contact a/the developer, just don't reply.


Active Member

Posts

Joined
Sat Jan 01, 2022 5:47 am
Who is online

Users browsing this forum: No registered users and 14 guests