Yes I have a plugin directory and yes lineheight is in it.
Printable View
Yes I have a plugin directory and yes lineheight is in it.
Has anyone gotten the color button to work? I cannot. I used the online builder (https://ckeditor.com/cke4/builder) uploaded and extracted the zip, logged out and back into Zen Cart but there is no button in the tool bar. This is the config.js
CKEDITOR.editorConfig = function( config ) {
// Define changes to default configuration here.
// For complete reference see:
// https://ckeditor.com/docs/ckeditor4/...OR_config.html
// The toolbar groups arrangement, optimized for two toolbar rows.
config.toolbarGroups = [
{ name: 'clipboard', groups: [ 'clipboard', 'undo' ] },
{ name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] },
{ name: 'links' },
{ name: 'insert' },
{ name: 'forms' },
{ name: 'tools' },
{ name: 'document', groups: [ 'mode', 'document', 'doctools' ] },
{ name: 'others' },
'/',
{ name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] },
{ name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] },
{ name: 'styles' },
{ name: 'colors' },
{ name: 'about' }
];
// Remove some buttons provided by the standard plugins, which are
// not needed in the Standard(s) toolbar.
config.removeButtons = 'Underline,Subscript,Superscript';
// Set the most common block elements.
config.format_tags = 'p;h1;h2;h3;pre';
// Simplify the dialog windows.
config.removeDialogTabs = 'image:advanced;link:advanced';
};
Please note that a patch for the security dialog shown in CKEditor has been posted. See
https://www.zen-cart.com/downloads.php?do=file&id=1098
I just installed the patch, my template has a few admin areas where ck editor is not wanted. is there an easy way to do this?
My attempts so far have resulted in it not loading at all when trying to add an exclusion for those pages. plus side is my home page banner is correct, downside is that i have to remember too swap out the patch file with my modified one so i can edit this button every few weeks. the page relies on entry of raw source code with an edit of what needs to change such as search terms in the search url and css for the button. when ck editor is active, even if i select the source code option and paste in code from a saved snippet that works... it malforms it into a css rule with the banner underneath it and then the link to the search term on plain text opposed to the expected nice button of text on the banner my homepage for all too see :/
i'm trying to stop it loading on "wt_wokiee_banner_manager" and "wt_wokiee_slideshow_manager" and no doubt some more in the future as i change something else i do not alter as often.
You can add the class "noEditor" to the call to the zen_draw_textarea_field() function, and then ckEditor will not be displayed.
So instead of the last parameter being
'class="editorHook form-control"');
use
'class="noEditor form-control"');
perfect thankyou. I was starting to suspect editing ckeditor.php was not the solution :laugh:
Noting that ckeditor5 (don't know if the same is true of the previous version) converts
toCode:<div class="float-left pr-3">Some text</div>
Code:<p>Some text</p>
I use CK Editor and it is prompting me to update to version 5, do I get the update from this forum (I saw a place to download)? I just don't want to mess up my store