vokiel
Forum Replies Created
-
Forum: Reviews
In reply to: [CKEditor for WordPress] add custom fonts please!Check the documentation: https://docs.ckeditor.com/#!/api/CKEDITOR.config-cfg-font_names
You can also search for custom font plugins, like https://ckeditor.com/addon/ckeditor-gwf-pluginForum: Reviews
In reply to: [CKEditor for WordPress] Счупи ми сайта!I’m sorry but I don’t see any connection with the CKEditor for WordPress plugin. Current version doesn’t have any security issues.
Forum: Plugins
In reply to: [CKEditor for WordPress] Question about mathjexCheck out this topic: https://www.ads-software.com/support/topic/adding-external-plugins-for-ckeditor-in-wp/
Forum: Plugins
In reply to: [CKEditor for WordPress] Default font size displayed in editorHi,
Do I need to change the default font size displayed in the editor in which file I can change?
You can naviage to CKEditor – Advanced Settings
/wp-admin/admin.php?page=ckeditor_advanced_options
an there select the Define css, and enter path for the css file. This will set the contentCss config rule.In the editor field I want to limit the number of characters and put a counter that displays the number of characters and that decreases as the characters are typed.
AFAIR there is no ready plugin for this. There is one for counters: Word Count & Char Count Plugin but it won’t limit it. So you’ll probably need to code some by yourself. This topic on SO can be helpful https://stackoverflow.com/questions/27231626/ckeditor-character-limitation-with-charcount-plugin
Forum: Plugins
In reply to: [CKEditor for WordPress] Adding external plugins for CKeditor in WPGreat you’ve managed to solve it!
If you think this issue can be closed, please do so.
Forum: Plugins
In reply to: [CKEditor for WordPress] Adding external plugins for CKeditor in WPHi @senfgurke, I found some time to check the issue you’re having.
I’ve started from scratch with a fresh WordPress copy, installed it and added CKEditor for WordPress plugin.
Then downloaded those plugins you’ve mentioned, and unpacked them into
wp-content/plugins/ckeditor-for-wordpress/ckeditor/plugins
. I had to createcssanim
folder manually and unzip the plugin inside it as it doesn’t contain it. Others were fine – so I just unzipped it.Next step was to add those plugins to the
wp-content/plugins/ckeditor-for-wordpress/ckeditor.config.js
file, like this:$ cat ckeditor.config.js /* Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved. For licensing, see LICENSE.md or https://ckeditor.com/license */ /** * Documentation: * https://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html */ CKEDITOR.editorConfig = function(config) { // The minimum editor width, in pixels, when resizing it with the resize handle. config.resize_minWidth = 450; // Protect PHP code tags (<?...?>) so CKEditor will not break them when // switching from Source to WYSIWYG. config.protectedSource.push(/<\?[\s\S]*?\?>/g); // Define toolbars, you can remove or add buttons. // List of all buttons is here: https://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.toolbar_Full // WordPress basic toolbar config.toolbar_WordpressBasic = [ { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ], items: [ 'Bold', 'Italic', 'Strike', '-', 'RemoveFormat' ] }, { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ], items: [ 'Blockquote', '-', 'JustifyLeft', 'JustifyCenter', 'JustifyRight'] }, { name: 'links', items: [ 'Link', 'Unlink' ] }, { name: 'insert', items: [ 'Image', 'SpecialChar' ] } ]; // The equivalent of "WordPressFull" toolbar, defined in a way that makes adding buttons from plugins easier. config.toolbarGroups = [ { name: 'document', groups: [ 'mode', 'document', 'doctools' ] }, { name: 'clipboard', groups: [ 'clipboard', 'undo' ] }, { name: 'editing', groups: [ 'find', 'selection', 'spellchecker' ] }, // { name: 'forms' }, '/', { name: 'paragraph', groups: [ 'list', 'indent', 'blocks', 'align', 'bidi' ] }, { name: 'links' }, { name: 'insert' }, { name: 'wordpress' }, '/', { name: 'basicstyles', groups: [ 'basicstyles', 'cleanup' ] }, { name: 'styles' }, { name: 'colors' }, { name: 'tools' }, { name: 'about' } ]; // Remove buttons in "WordPressFull" toolbar config.WordpressFull_removeButtons = 'Save,NewPage,Preview,Print,Templates,CreateDiv,PageBreak,Styles'; //IE: remove border of image when is as a link config.extraCss = "a img { border: 0px\\9; }"; config.extraPlugins += (config.extraPlugins ? ',youtube,fontawesome,cssanim' : 'youtube,fontawesome,cssanim' ); };
I’ve just added this line:
config.extraPlugins += (config.extraPlugins ? ',youtube,fontawesome,cssanim' : 'youtube,fontawesome,cssanim' );
And that’s all. I see all of them working inside the CKEditor.
- This reply was modified 8 years, 1 month ago by vokiel.
Forum: Plugins
In reply to: [CKEditor for WordPress] Adding external plugins for CKeditor in WPWhat plugin are you trying to add?
Forum: Plugins
In reply to: [CKEditor for WordPress] Adding external plugins for CKeditor in WPHi,
Did you add the plugin files to your CKEditor for WordPress plugin (usually in
/wp-content/plugins/ckeditor-for-wordpress/ckeditor/plugins/
)?Forum: Plugins
In reply to: [CKEditor for WordPress] Text editor and tolbarPlease chceck what settings do you have on
ckeditor_basic_options
page (wp-admin/admin.php?page=ckeditor_basic_options
)There is Post/Page Editor options where you can find Editor toolbar option – just select
WordPressFull
to enable full toolbar.Forum: Plugins
In reply to: [CKEditor for WordPress] Text editor and tolbarHi,
Do you mean how to use CKEditor inside WordPress or do you mean how to configure it to have all the features enabled?
Forum: Plugins
In reply to: [CKEditor for WordPress] CKEditor with Inline Comments (Lance)Hi,
We do not check compatibility for every single CKEditor plugin, as there are hundreds of them.
I advise to do a quick check on your own or write to the plugin author to ask about the requirements and possible usage inside WordPress.Forum: Plugins
In reply to: [CKEditor for WordPress] Cannot redeclare class _WP_Editors (CK Editor)I assume you would need to remove it instead of just deactivating.
Forum: Plugins
In reply to: [CKEditor for WordPress] Cannot redeclare class _WP_Editors (CK Editor)And again, remove credentials from https://www.ads-software.com/support/topic/cannot-redeclare-class-_wp_editors-ck-editor?replies=10#post-8630093
Forum: Plugins
In reply to: [CKEditor for WordPress] Cannot redeclare class _WP_Editors (CK Editor)Found it, as wrote before, one plugin was directly including the
_WP_Editors
class files.It is
WPBakery Visual Composer
file:js_composer/include/classes/editors/class-vc-frontend-editor.php
line: 573I see two options here.
1. Write to the WPBakery Visual Composer plugin author to add a check, which would test if CKEditor is enabled and require its file instead of the default WP one.
2. Modify this plugin on your own, then create PR for the WPBakery Visual Composer ??Forum: Plugins
In reply to: [CKEditor for WordPress] Cannot redeclare class _WP_Editors (CK Editor)[hidden]