Page 18 of 21 FirstFirst ... 81617181920 ... LastLast
Results 171 to 180 of 202
  1. #171
    Join Date
    May 2011
    Location
    Tennessee
    Posts
    377
    Plugin Contributions
    0

    Default Re: Support Thread for CKEditor Plugin

    Delia, I hope someone can help us understand how we can modify the new ckeditor implementation to meet our needs. In the meantime I am curious what editor did you integrate and how did you integrate it into Zencart?

  2. #172
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: Support Thread for CKEditor Plugin

    I did find instructions how to pull different versions - changing the lilnk

    There are these options:
    basic - the Basic preset
    standard - the Standard preset
    standard-all - the Standard preset together with all other plugins created by CKSource*
    full - the Full preset
    full-all - the Full preset together with all other plugins created by CKSource*

    The mod is pulling the standard-all. I changed to the full-all by changing admin/includes/ckeditor.php line 22 from
    PHP Code:
    <script src="https://cdn.ckeditor.com/4.14.0/standard-all/ckeditor.js" title="CKEditorCDN"></script> 
    to
    PHP Code:
    <script src="https://cdn.ckeditor.com/4.4.5.1/full-all/ckeditor.js" title="CKEditorCDN"></script> 
    I don't see how to disallow pieces this way. Looks like full sets only but at least one can expand the selection if you wish.

    My worry here is that it is using a different version of the editor - I know there's always concerns about the versions and security but this uses a newer version. Shouldn't it then be safer?
    The full-time Zen Cart Guru. WizTech4ZC.com

  3. #173
    Join Date
    May 2011
    Location
    Tennessee
    Posts
    377
    Plugin Contributions
    0

    Default Re: Support Thread for CKEditor Plugin

    Delia, Yes i found that and it does change the tool bars to include all plugins and i have some of the same concerns about just evolving into the wild wild west. I was also trying to find a way to choose a different skin. Changing the skin in the config.js does nothing.

  4. #174
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: Support Thread for CKEditor Plugin

    Quote Originally Posted by jodean View Post
    Delia, I hope someone can help us understand how we can modify the new ckeditor implementation to meet our needs. In the meantime I am curious what editor did you integrate and how did you integrate it into Zencart?
    very long ago - a now defunct editor which I still prefer and use a really old version in a tiny cms in use on about 3 sites right now. Definitely not secure for general use.

    And that's the problem. What is included in the mod right now is considered to be secure and that's the primary concern of the zen cart core team always. I've figured out how to modify this such as changing the actual set of tools pulled from the CDN but I like have having more control, especially for my clients. I don't want to have the ability to color the text in the editor so I'm happy about that change but then there are other things missing and I'm still looking at what's in each option. Unfortunately the plugin that I consider to be the handiest that uses a catalog stylesheet is not one that is included in a package. It has to be downloaded - still working on that.

    All of this comes with major caveats - remembering the changes one made when upgrading, keeping up with possible insecurities (zc will upgrade when deemed prudent for the released version which does not mean you will know when your differences become a risk.
    The full-time Zen Cart Guru. WizTech4ZC.com

  5. #175
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: Support Thread for CKEditor Plugin

    Quote Originally Posted by jodean View Post
    Delia, Yes i found that and it does change the tool bars to include all plugins and i have some of the same concerns about just evolving into the wild wild west. I was also trying to find a way to choose a different skin. Changing the skin in the config.js does nothing.
    There is a online builder that creates the changes - it might give you some idea of how to make the changes in yours and then again it may not be possible to change the cdn version. The online builder will give you the entire package with plugin directories and the config. I'm playing with it to see if I can easily add the paragraphing at a minimum and the plugin for the catalog stylesheet.
    The full-time Zen Cart Guru. WizTech4ZC.com

  6. #176
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: Support Thread for CKEditor Plugin

    I see no difference between full and full-all by the way. I think the full-all needs further configuration in order to take advantage of possibly downloaded extra plugins. The differences between the standard-all and full are major and include way more than I want. Screenshot of the two panels: Name:  full-standard.png
Views: 125
Size:  63.9 KB
    The full-time Zen Cart Guru. WizTech4ZC.com

  7. #177
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: Support Thread for CKEditor Plugin

    And also, I edited the config.js file and it simply does not appear it's being used at all. I even deleted the file after my edits failed and it appears that it made no difference.

    I do see instructions for correctly adding a local config file but am unsure how to make this happen. It looks like some js needs to be added to the admin/ckeditor.php file. So here's where a response from someone who is more proficient with js/jquery than I would be gratefully appreciated.
    The full-time Zen Cart Guru. WizTech4ZC.com

  8. #178
    Join Date
    May 2006
    Location
    Gardiner, Maine
    Posts
    2,296
    Plugin Contributions
    22

    Default Re: Support Thread for CKEditor Plugin

    Definitely the config.js file is being called in admin/ckeditor.php and not heeded. So a fix please.
    The full-time Zen Cart Guru. WizTech4ZC.com

  9. #179
    Join Date
    Dec 2007
    Location
    Payson, AZ
    Posts
    1,076
    Plugin Contributions
    15

    Default Re: Support Thread for CKEditor Plugin for Zen Cart

    Quote Originally Posted by delia View Post
    Definitely the config.js file is being called in admin/ckeditor.php and not heeded. So a fix please.
    There are allot of things one can turn on or off depending on CKEditor build.. CKEditor 4.14 is what I'm using and not all the toolbars are on based on the config.js file in the editor folder. No config.js entry, turns them all on and one really do not need all.. CKEditor 5.19 build has very little tools installed and really not usable yet unless one builds the tools they need into it. It also requires a different admin script to work with ZC. By listing the tools one wants ..
    Code:
    config.toolbar = [
            { name: 'clipboard', items: [ 'Cut', 'Copy', 'Paste', 'PasteText', 'PasteFromWord', '-', 'Undo', 'Redo' ] },
    turns them on and listing tools one doesn't want
    Code:
    // Remove some buttons provided by the standard plugins, which are
        // not needed in the Standard toolbar.
        config.removeButtons = 'Subscript,Superscript,Font,Flash';
    turns them off..
    Not sure on the latest CDN version...
    If you are not sure what toolbars exist in CKEditor 4, or you wish to create your own on/off list, check out there toolbar configurator tool.. Life just gets too simple sometimes!!
    Dave
    Always forward thinking... Lost my mind!

  10. #180
    Join Date
    May 2011
    Location
    Tennessee
    Posts
    377
    Plugin Contributions
    0

    Default Re: Support Thread for CKEditor Plugin

    Does anyone know how to change the skin? Changing config.skin = 'moono'; to config.skin = 'moonocolor'; in the config.js does absolutly nothing.

 

 
Page 18 of 21 FirstFirst ... 81617181920 ... LastLast

Similar Threads

  1. v150 Support Thread for Google reCAPTCHA plugin
    By David Allen in forum All Other Contributions/Addons
    Replies: 638
    Last Post: 31 Jan 2024, 04:03 PM
  2. Back to Top Plugin [Support Thread]
    By picaflor-azul in forum All Other Contributions/Addons
    Replies: 31
    Last Post: 6 Feb 2016, 10:52 PM
  3. v151 Plug 'n' Pay plugin [Support Thread]
    By KetchRescue in forum Addon Payment Modules
    Replies: 5
    Last Post: 28 Nov 2015, 04:56 AM
  4. Justuno Plugin [Support Thread]
    By JustunoApp in forum All Other Contributions/Addons
    Replies: 8
    Last Post: 24 May 2015, 11:00 PM
  5. VendingBox Plugin Support Thread
    By vb_support in forum All Other Contributions/Addons
    Replies: 31
    Last Post: 10 Feb 2013, 07:24 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR