Forums / Addon Admin Tools / Support Thread for CKEditor Plugin

Support Thread for CKEditor Plugin

Views: 56,630

Results 141 to 160 of 214
8 Mar 2018, 3:03 PM
#141
rhenrie avatar

rhenrie

New Zenner

Join Date:
Dec 2016
Location:
Utah
Posts:
13
Plugin Contributions:
0

Support Thread for CKEditor Plugin

Thanks mc12345678! I didn't purposefully move to utf8. I see in myPhpAdmin the Server charset: UTF-8 Unicode (utf8). On my old and new databases I see a mixture of utf8_general_ci and latin1_swedish_ci under Collation. I don't know anything about the subject yet except what I just read looking at the db2utf8. Is the Collation field informative in this subject? Should all tables be utf8?

8 Mar 2018, 9:01 PM
#142
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,119
Plugin Contributions:
56

Re: Support Thread for CKEditor Plugin

rhenrie:

Thanks mc12345678! I didn't purposefully move to utf8. I see in myPhpAdmin the Server charset: UTF-8 Unicode (utf8). On my old and new databases I see a mixture of utf8_general_ci and latin1_swedish_ci under Collation. I don't know anything about the subject yet except what I just read looking at the db2utf8. Is the Collation field informative in this subject? Should all tables be utf8?
There are more details about this in my blog: https://vinosdefrutastropicales.com/blog/?p=309

9 Mar 2018, 2:15 PM
#143
rhenrie avatar

rhenrie

New Zenner

Join Date:
Dec 2016
Location:
Utah
Posts:
13
Plugin Contributions:
0

Re: Support Thread for CKEditor Plugin

Thanks mc12345678 and Thanks lat9!!! That was an excellent description in your blog lat9. I simply changed my config files to utf8 and now everything works! I can edit my product descriptions again. Thanks so much! I will translate my database eventually to be all utf8. But, FYI this mismatch (latin1 in config vs utf8 in database) was the cause of ckeditor showing blank descriptions and ezpage windows.

2 Aug 2018, 3:12 AM
#144
bcompton1 avatar

bcompton1

New Zenner

Join Date:
Aug 2018
Location:
Sadler, Texas
Posts:
3
Plugin Contributions:
0

Re: Support Thread for CKEditor Plugin

Installed CKEditor for ZC v154. Selected CKEditor as default editor on My Store. When I go to Tools>Define Pages Editor and select the page and CKEditor, the editor jumps back to Plain Text.

I used the correct CK directory for my version of ZC. I copied the directories and files exactly as described in the install instructions. Nothing abnormal in the log files concerning CKEditor that i can find. CKEditor shows as my default editor in the My Store page so I don't know why it won't let me edit with it.

Any tips on why CKEditor won't take? Where else to look?

28 Sep 2018, 7:06 PM
#145
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Support Thread for CKEditor Plugin

bcompton1:

the editor jumps back to Plain Text.
In my experience that's been the result of having other javascript scripts installed in your admin, which are conflicting or triggering errors which stop the rest of the ckeditor scripts from running.

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

15 Oct 2018, 7:55 PM
#146
strelitzia avatar

strelitzia

Totally Zenned

Join Date:
Nov 2005
Location:
France
Posts:
588
Plugin Contributions:
1

Re: Support Thread for CKEditor Plugin

I've added some new AJAX pages to my admin (1.5.5f) and want CKEditor to work on the textarea. I added

if ($editor_handler != '') include ($editor_handler);

to the code, and whilst the editor is now displayed, changes to the content do not show if I var_dump($_POST);
If I switch to Plain Text, any edits done in the field are correct in $_POST.

Does ZC contain a file that handles which pages CKEditor works on? If not, any suggestions on why an active CKEditor would not pass the data

Zen Cart developer since 2009 — Zen Cart Solutions
Ecommerce development, integrations & automation — Junction Solutions

31 Jan 2019, 5:43 PM
#147
echexxxxxxxx10 avatar

echexxxxxxxx10

New Zenner

Join Date:
Feb 2010
Posts:
58
Plugin Contributions:
0

Re: Support Thread for CKEditor Plugin

hi, can someone help me activate the imageuploader plugin? I need to be able to upload images to the server.

I added the plugin folder, and activated the plugin in config.js with the code

config.extraPlugins = 'imageuploader';

but when I click search on the server it comes out like this:

Attachment 18309

thank you very much

4 Feb 2020, 10:06 AM
#148
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
733
Plugin Contributions:
0

Re: Support Thread for CKEditor Plugin

Hello there, I have this for a while as I was trying to figure it out but wondered if anybody else has this? If I edit or create new description content with quick_updates for example (using latest ckeditor version 4.6.2), it outputs description with tags and html. Such as this:-

<p><span style=""color:"><b><font size=""3"">

And it looks like text source. If I make a new item the output seems okay. I have another plugin that uses ckeditor I put in new content there and it adds all the html tags too. Thanks in advance.

4 Feb 2020, 10:22 AM
#149
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Support Thread for CKEditor Plugin

HeathenMagic:

Hello there, I have this for a while as I was trying to figure it out but wondered if anybody else has this? If I edit or create new description content with quick_updates for example (using latest ckeditor version 4.6.2), it outputs description with tags and html. Such as this:-

And it looks like text source. If I make a new item the output seems okay. I have another plugin that uses ckeditor I put in new content there and it adds all the html tags too. Thanks in advance.
Didn't say how those tags were being added, if they are manually typed in while first looking at the editor, then it is that the editor has not been put into source edit mode (there is a button on the ckeditor toolbar to activate source mode). If those tags are at first not visible and only "appear" after saving the content, then likely the field is being oversanitized by the admin's sanitizer code and an appropriate sanitizer needs to be applied to the field being saved.

So if you could please identify, was the content posted about above something that was manually typed in or was it html that was generated by the editor that later became visible when viewing the catalog side result and/or when attempting to edit it again?

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

4 Feb 2020, 10:50 AM
#150
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
733
Plugin Contributions:
0

Re: Support Thread for CKEditor Plugin

mc12345678:

Didn't say how those tags were being added, if they are manually typed in while first looking at the editor, then it is that the editor has not been put into source edit mode (there is a button on the ckeditor toolbar to activate source mode). If those tags are at first not visible and only "appear" after saving the content, then likely the field is being oversanitized by the admin's sanitizer code and an appropriate sanitizer needs to be applied to the field being saved.

So if you could please identify, was the content posted about above something that was manually typed in or was it html that was generated by the editor that later became visible when viewing the catalog side result and/or when attempting to edit it again?

Thanks for your reply, sorry for the lack of clarity. So if Iclear quick updates entry for example, write some text then press enter key to create another paragraph it shows <p> . And then <p><strong> if I am making text bold. Switching to source I can see those tags with the text I write, switching back from source it looks normal. If I write new text then, and switch to source it shows the correct formatting tags. But its strange why it shows on the live site the source version and not bold / with paragraph for example.

If I make new product as per normal I don't experience any of this. Just two plugins (that never use to do this until perhaps over a year ago). I have seen a file called sanitise somewhere before, in admin fileset I think. I am fairly sure it is stock version.

4 Feb 2020, 6:11 PM
#151
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Support Thread for CKEditor Plugin

HeathenMagic:

Thanks for your reply, sorry for the lack of clarity. So if Iclear quick updates entry for example, write some text then press enter key to create another paragraph it shows <p> . And then <p><strong> if I am making text bold. Switching to source I can see those tags with the text I write, switching back from source it looks normal. If I write new text then, and switch to source it shows the correct formatting tags. But its strange why it shows on the live site the source version and not bold / with paragraph for example.

If I make new product as per normal I don't experience any of this. Just two plugins (that never use to do this until perhaps over a year ago). I have seen a file called sanitise somewhere before, in admin fileset I think. I am fairly sure it is stock version.
Based on that and a brief review of a plugin called quick updates, the issue is oversanitization when submitting content through the admin where the sanitization code has been applied. The plugin appears to offer sanitization processing, but it appears to apply only strict sanitization which is applied even if no sanitization rule had been added... At any rate, the issue is not with ckeditor but instead the plugin(s) associated with what is being seen.

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

5 Feb 2020, 5:47 PM
#152
heathenmagic avatar

heathenmagic

Totally Zenned

Join Date:
May 2005
Location:
England
Posts:
733
Plugin Contributions:
0

Re: Support Thread for CKEditor Plugin

mc12345678:

Based on that and a brief review of a plugin called quick updates, the issue is oversanitization when submitting content through the admin where the sanitization code has been applied. The plugin appears to offer sanitization processing, but it appears to apply only strict sanitization which is applied even if no sanitization rule had been added... At any rate, the issue is not with ckeditor but instead the plugin(s) associated with what is being seen.

Thankyou kindly for your reply. That makes sense, I will approach the relevant support thread and see if I can find a fix. I haven't updated quick updates for a couple of years, though I noticed this occurred after one of the recent zencart updates and perhaps that file was altered. I have it with 'proforma' module too, but I will figure it out I am sure (hopefully lol).

5 May 2020, 7:36 PM
#153
avansant avatar

avansant

Zen Follower

Join Date:
Aug 2004
Posts:
122
Plugin Contributions:
0

Re: Support Thread for CKEditor Plugin

Today I had two carts have their CKE just stop working. They don't have anything in common, one is 1.5.4 and one is the latest version... both have been working fine for months... anyone else have this happen or have any idea what might have happened? My only thought is they are both on the same server and something changed there....php upgrade or something?

5 May 2020, 9:03 PM
#154
pinwheel avatar

pinwheel

New Zenner

Join Date:
Feb 2020
Location:
USA
Posts:
9
Plugin Contributions:
0

Re: Support Thread for CKEditor Plugin

Hello,

There is a thread going getting no traction. https://www.zen-cart.com/showthread.php?226683-CKEditor-stopped-working&highlight=ckeditor

Yesterday the CKeditor stopped working and it seems for the person who created the thread too. The error that keeps showing is: "ReferenceError: $ is not defined" in inspector. I find it strange that the CKeditor stops for two zencart users on the same day. The editor worked the day prior.

My client is using zencart 1.5.6. They are using the CKeditor that's a plugin from zencart.

Thank you.

5 May 2020, 11:41 PM
#155
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,515
Plugin Contributions:
176

Re: Support Thread for CKEditor Plugin

Here's a new version that loads CKEditor from their own CDN, instead of being self-hosted. It also relies on a much newer jQuery version:
https://www.zen-cart.com/downloads.php?do=file&id=1098

.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole

Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

12 May 2020, 1:18 PM
#156
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Re: Support Thread for CKEditor Plugin

How can i add "Div" as a option in the tool bar and "monocolor" as the skin? I tried making changes to the config.js but it had no impact on the color or tool bar even after resetting the google cache.

14 May 2020, 1:15 PM
#157
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,305
Plugin Contributions:
39

Re: Support Thread for CKEditor Plugin

DrByte:

Here's a new version that loads CKEditor from their own CDN, instead of being self-hosted. It also relies on a much newer jQuery version:
https://www.zen-cart.com/downloads.php?do=file&id=1098

Anyone else try this? It did not make ckeditor work for the carts (5) where it just suddenly stopped working on dif servers, dif zen versions and php 7.1 or newer.

14 May 2020, 2:43 PM
#158
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Support Thread for CKEditor Plugin

I had a customer 2 days ago with the same complaint that the ckeditor stopped working. Minutes ago it just happened to me inside a 1.5.6c new cart. No plugins that conflict. This makes absolutely no sense. How about folks talk about browsers? This is in chrome with the latest update.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo

14 May 2020, 2:45 PM
#159
mprough avatar

mprough

Totally Zenned

Join Date:
Nov 2007
Location:
Woodbine, Georgia, United States
Posts:
4,305
Plugin Contributions:
39

Re: Support Thread for CKEditor Plugin

Chrome, firefox and edge all up to date

14 May 2020, 2:45 PM
#160
delia avatar

delia

Totally Zenned

Join Date:
May 2006
Location:
Gardiner, Maine
Posts:
2,383
Plugin Contributions:
7

Re: Support Thread for CKEditor Plugin

and I switched to firefox and the editor never fired up at all.

The full-time Zen Cart Guru. WizTech4ZC.com
New template for 2.0 viewable here: 2.0 Demo