Author Topic: Could comeone please get a broom?  (Read 796 times)

Offline CodeALot

  • Posts: 506
  • Gender: Male
Could comeone please get a broom?
« on: March 22, 2021, 04:25:51 PM »
It would make life a lot easier if the CKEDITOR would not come with 182 (OK, maybe a little less :-) )  instances of the same config-files, style-declarations and CSS-files in different folders. Every time I need to change something in the taskbar or style-definitions, it's a frustrating task. Can't this be cleaned up in the distribution files?

Offline dbs

  • Betatester
  • **
  • Posts: 8626
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Could comeone please get a broom?
« Reply #1 on: March 22, 2021, 05:03:43 PM »
Hi, idk really what you mean.
You have a copy of the folder wb_config in your template?
This helps not?

Offline hgs

  • Betatester
  • **
  • Posts: 1398
    • EFG MG
Re: Could comeone please get a broom?
« Reply #2 on: March 23, 2021, 08:53:42 AM »
Actually, there is only one place that is located in the CKEditor module, namely in the subfolder
 /wb_config
I only use this option.

DBS has already mentioned a second possibility.
To customize it for the template, take a copy of this folder from the module and copy it to the template subfolder.

Or we have completely misunderstood you.
LG Harald

"Fange nie an, aufzuhören - höre nie auf, anzufangen." Marcus Tullius Cicero (106-43 v.Chr.)

Offline CodeALot

  • Posts: 506
  • Gender: Male
Re: Could comeone please get a broom?
« Reply #3 on: March 25, 2021, 11:45:12 PM »
No you are both right. I made things complicated for myself :)

Re: copies in every template dir: I never do that. I always use one central place for all my css and js.
Because I want to be able to access those from the AddOnFileEditor, I use the default template for this. Every other template gets its css and js files from there.

The broom I mentioned: the CKEditor module comes with duplicates of some of the files and consists of a lot of directories. Some of those files and directories are never used in WB. So why don't we take those out to prevent confusion?

Offline dbs

  • Betatester
  • **
  • Posts: 8626
  • Gender: Male
  • tioz4ever
    • WebsiteBaker - jQuery-Plugins - Module - Droplets - Tests
Re: Could comeone please get a broom?
« Reply #4 on: March 29, 2021, 12:21:57 PM »
The folder wb_config you can also use as a central if you put this folder into /templates.
If no folder wb_config is in the used template WB will use the folder wb_config in /templates.
If no folder is in used template and no folder in /templates WB use the one in /ckeditor.

We have no ckeditor special man to remove unused things.  :)
There are so many other tasks.

 

postern-length