I find wysiwyg editor frustrating, I can't quiet seem to figure out how to get open cart to run in just a basic html editor with no fluff just code.
Does anybody have a solution or Extension they can recommend for this?
Thank You Kindly
SkyD
Does anybody have a solution or Extension they can recommend for this?
Thank You Kindly
SkyD
You mean, just a text area? You can simply switch to source code in Summernote.SkyD wrote:I find wysiwyg editor frustrating, I can't quiet seem to figure out how to get open cart to run in just a basic html editor with no fluff just code.
Isn't CKEditor is also a WYSIWYG?:-)cyclops12 wrote:What about This one
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
Havent used it myself just remember others saying it was alot better than the summernote editorthekrotek wrote:Isn't CKEditor is also a WYSIWYG?:-)cyclops12 wrote:What about This one
But it does say it has a built-in HTML-editor
CKEditor and Summernote are both WYSIWYG editors, and both have an HTML source mode. OpenCart used to use CKEditor, then switched to Summernote in OpenCart 2.0. Personally, I like Summernote better than CKEditor -- the source code generated by CKEditor was horrendous, though I don't know if that's improved in newer versions. They're fairly equal in terms of features, though some people do like CKEditor better.
However, it seems like SkyD wants to just turn off Summernote, in which case the easiest way is to just rename the library (so the link breaks, and won't load anything in the admin). To do that you'd rename this file to something else, like summernote.js_DISABLED:
/admin/view/javascript/summernote/summernote.js
If you do that you probably also want to expand the textarea fields so they're a bit larger, so you'd add some styling like this somewhere in the /admin/view/stylesheet/stylesheet.css file:
However, it seems like SkyD wants to just turn off Summernote, in which case the easiest way is to just rename the library (so the link breaks, and won't load anything in the admin). To do that you'd rename this file to something else, like summernote.js_DISABLED:
/admin/view/javascript/summernote/summernote.js
If you do that you probably also want to expand the textarea fields so they're a bit larger, so you'd add some styling like this somewhere in the /admin/view/stylesheet/stylesheet.css file:
Code: Select all
textarea {
height: 300px !important;
}
I'm in the same boat with Johnathan: Summernote's code is WAY cleaner, than CKEditor's. Probably, because Summernote is more simple.
Professional OpenCart extensions, support and custom work.
Contact me via email or Skype by support@thekrotek.com
You can allow CKeditor to KEEP the code, see my post here about configuring CKeditor to allow and keep html code and "sourcedialog mode".Johnathan wrote:the source code generated by CKEditor was horrendous
I am 65 and have been using Frontpage for many years and CKeditor for many years and similar critics: both editors change html code by default. It is bad, that they both do that. It is bad, that CK by default NOT allow html code in source view. I admit that, but if you know how to change that, CKeditor can be customized much better.
--- please reply only with verified data, that is: no 'I think', 'maybe' etc. ---
Just to mention it, some Extensions exist for Summernote Editors!
Ernie
---
Hide the Editor in HTML Modules
This simple OCMOD will add a checkbox above each of the description editors, once checked and saved the Summernote editor will be disabled. This allows you to freely add in HTML, CSS and JavaScript without the editor removing or reformatting it.
https://www.opencart.com/index.php?rout ... n_id=27750
---
Summernote Paste Plain Text
Whit this extension you can copy any text from any site or from word and it will paste it as a plain text which is easy to edit. Pasted text will be un-stylized thus the user does not have to remove the style or html commands.
https://www.opencart.com/index.php?rout ... n_id=25675
---
Summernote Editor Full Toolbar
Summernote editor all toolbar buttons are activated. Also added codeview in codemirror and syntax highlight button support.
https://www.opencart.com/index.php?rout ... n_id=24953
---
Ernie
---
Hide the Editor in HTML Modules
This simple OCMOD will add a checkbox above each of the description editors, once checked and saved the Summernote editor will be disabled. This allows you to freely add in HTML, CSS and JavaScript without the editor removing or reformatting it.
https://www.opencart.com/index.php?rout ... n_id=27750
---
Summernote Paste Plain Text
Whit this extension you can copy any text from any site or from word and it will paste it as a plain text which is easy to edit. Pasted text will be un-stylized thus the user does not have to remove the style or html commands.
https://www.opencart.com/index.php?rout ... n_id=25675
---
Summernote Editor Full Toolbar
Summernote editor all toolbar buttons are activated. Also added codeview in codemirror and syntax highlight button support.
https://www.opencart.com/index.php?rout ... n_id=24953
---
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.
This is exactly what i needed but it doesn't work for 2.3.0.2IP_CAM wrote:Just to mention it, some Extensions exist for Summernote Editors!
Ernie
---
Hide the Editor in HTML Modules
This simple OCMOD will add a checkbox above each of the description editors, once checked and saved the Summernote editor will be disabled. This allows you to freely add in HTML, CSS and JavaScript without the editor removing or reformatting it.
https://www.opencart.com/index.php?rout ... n_id=27750
---
Thank You though

Here you go SkyD....
Edited to work in 2.3.0.2
Edited to work in 2.3.0.2
cyclops12 wrote:Here you go SkyD....
Edited to work in 2.3.0.2
Hello,
I must be missing something, i installed it and nothing happened, i check under modifications and it appears but there is no extensions or changes to my cart other then that.
Suggestions?
Thank You
Exactly what i wanted, but nothing happened or changed when I installed the modifcation.cyclops12 wrote:All that extension does is remove the editor in html modules
If you are using an html module then all the editor buttons that normally appear along the top are hidden.
Isnt that what you wanted??
I installed this on a default 2.3.0.2 version....
This is the html module without the extension installed This is with the extension installed And this is the result of clicking on the save option If it doesnt work for you then perhaps you have another mod that is controlling one of the files
This is the html module without the extension installed This is with the extension installed And this is the result of clicking on the save option If it doesnt work for you then perhaps you have another mod that is controlling one of the files
Who is online
Users browsing this forum: No registered users and 4 guests