turnermm / ckgedit

CKEditor integrated into Dokuwiki
https://www.dokuwiki.org/plugin:ckgedit
GNU General Public License v2.0
59 stars 50 forks source link

Fix retrieval of the alternate stylesheet #675

Closed RhavoX closed 2 years ago

RhavoX commented 2 years ago

The link to retrieve the alternate _style.css is wrongly generated, this will fix it (tested in my environment on Igor release).

turnermm commented 2 years ago

Was it working before Igor? And no changes to wiki location?

RhavoX commented 2 years ago

Unfortunately I do not know, I wasn't using that feature then, as for the location - it didn't change.

turnermm commented 2 years ago

You are not using the current download version but the master branch, which is not always up-to-date with current in all respects. This change has already been made.

RhavoX commented 2 years ago

You are not using the current download version but the master branch, which is not always up-to-date with current in all respects. This change has already been made.

So you say that the current branch already has this fixed? Because I see that the DOKU_BASE is used there as well.

turnermm commented 2 years ago

Line 523 function alt_style_sheet() { $stylesheet = DOKU_PLUGIN . 'ckgedit/ckeditor/css/_style.css'; if(file_exists($stylesheet)) {

turnermm commented 2 years ago

I have updated the master using your pull request but the current branch was already fixed.