WebsiteBaker Support (2.12.x) > General Help & Support
CK Editor question
jacobi22:
#2 - see answer from dbs - maybe another wb_ckconfig there??
to check it, make in the backend on the page with the editor and the missing Droplet-Icon outside from the editor-field a right-mouse-click and select: View Source
scroll down to this code here
there, you find the path's to the config-files , marked in pink
the skin - marked in yellow
the extra plugins - marked in blue
remove plugins - marked in red
the toolbar - marked in green
be sure, that you search in the correct toolbar and also, that you have wbDroplets in the extraPlugins, not in removePlugins
jacobi22:
one more
use browser tools (F12-key) to search for the Icon
in my browser
Network-analysis -> select Grafics only -> reload the page , push the keys STRG + F and write "droplet" in the search field
it will show the _wbDroplet.gif and the loading status - but only, it the script sends this order (needs a activated plugin and no error in Javascript)
do you have it only in this wb-installation or in every bulgarian wb? (maybe a language problem) - see also in console for more info's (if avaiable)
jacobi22:
if you want..... the ckeditor works with browser language detection, but maybe, it works not in every case or for every language
go to modules/ckeditor/ckeditor/pluging/wbDroplet
and open there the file plugins.js
you see in the top the language definition
--- Code: --- lang: [
CKEDITOR.config.defaultLanguage,
CKEDITOR.lang.detect(CKEDITOR.config.language )
],
--- End code ---
and in the next line all avaiable language files for this plugin, but deactivated
switch the deactivation to the first code and activate the files like
--- Code: ---// lang: [
// CKEDITOR.config.defaultLanguage,
// CKEDITOR.lang.detect(CKEDITOR.config.language )
// ],
lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en-au,en-ca,en-gb,en,eo,es,et,eu,fa,fi,fo,fr-ca,fr,gl,gu,he,hi,hr,hu,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt-br,pt,ro,ru,sk,sl,sr-latn,sr,sv,th,tr,ug,uk,vi,zh-cn,zh', // %REMOVE_LINE_CORE%
--- End code ---
now, you can translate the file modules/ckeditor/ckeditor/pluging/wbDroplet/lang/bg.js
reload the page and see, whats happend
rumen:
Very very elegant solution - For the first point!
Kudos to you!
rumen:
Language changed as per instructions, but no changes. Also try to find the _wbdroplets.gif but it doesn't find it. I checked and the file is there in folder /orionstudio.rocks/modules/ckeditor/ckeditor/plugins/wbdroplets/icons/
--- Quote from: jacobi22 on February 28, 2019, 12:48:36 AM ---if you want..... the ckeditor works with browser language detection, but maybe, it works not in every case or for every language
go to modules/ckeditor/ckeditor/pluging/wbDroplet
and open there the file plugins.js
you see in the top the language definition
--- Code: --- lang: [
CKEDITOR.config.defaultLanguage,
CKEDITOR.lang.detect(CKEDITOR.config.language )
],
--- End code ---
and in the next line all avaiable language files for this plugin, but deactivated
switch the deactivation to the first code and activate the files like
--- Code: ---// lang: [
// CKEDITOR.config.defaultLanguage,
// CKEDITOR.lang.detect(CKEDITOR.config.language )
// ],
lang: 'af,ar,bg,bn,bs,ca,cs,cy,da,de,el,en-au,en-ca,en-gb,en,eo,es,et,eu,fa,fi,fo,fr-ca,fr,gl,gu,he,hi,hr,hu,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,pl,pt-br,pt,ro,ru,sk,sl,sr-latn,sr,sv,th,tr,ug,uk,vi,zh-cn,zh', // %REMOVE_LINE_CORE%
--- End code ---
now, you can translate the file modules/ckeditor/ckeditor/pluging/wbDroplet/lang/bg.js
reload the page and see, whats happend
--- End quote ---
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version