paginagmbh / redmine_lightbox2

Lightbox for image attachments in Redmine
MIT License
126 stars 97 forks source link

After install ckeditor wiki without style #49

Closed atvirasvilnius closed 6 years ago

atvirasvilnius commented 6 years ago

image

hi after install wiki page is terribable

tofi86 commented 6 years ago

Hi, can you please remove my plugin and test whether the issue disappears and the page is formatted correctly? I want to make sure that it's an issue between my plugin and ckeditor and want to be sure which plugin causes the error before I start investigating. Thanks.

atvirasvilnius commented 6 years ago

When I swich off text formating Ckeditor formating come back ;)

image

image

image

tofi86 commented 6 years ago

So why do you think my plugin is the problem? You have more than 20 other plugins installed?! My plugin does not apply nor change text formatting...

Again, please do the following:

  1. leave text formatting option as is
  2. uninstall my plugin
  3. check your wiki page. is the formatting still wrong? or is the formatting correct?
  4. install my plugin again
  5. check your wiki page. is the formatting still wrong? or is the formatting correct?
atvirasvilnius commented 6 years ago

OK

  1. done
  2. done
  3. now format is correct (markdown): image
  4. install plugin again step by step
  5. when I active in settting ckeditor format is missing: image
  6. remove other plugins: image
tofi86 commented 6 years ago

Sorry for the late reply.

This has nothing to do with the lightbox plugin. You tested the wrong order. You should have tested the CKEditor plugin WITHOUT every other plugin but WITH my plugin. If you then disable the lightbox plugin nothing happens and you will see that this is the default behaviour (plain text without markup).

You cannot switch the markup language in an existing Redmine installation without loosing all the existing markup.

When you used Markdown before and you have 500 wiki pages with Markdown syntax and you switch to CKEditor style now, all the 500 wiki pages are corrupted forever because you switched off Markdown support in Redmine in favour of CKEditor HTML styling.

The same will happen if you edit pages now in CKEditor. The editor saves the content as HTML and if you ever switch back to Markdown, all the CKEditor content is displayed wrong.

Read this thread on redmine.org: http://www.redmine.org/issues/22005