[xwiki-users] CKEditor
Hi All, On an infrequently maintained xwiki instance (.deb on Ubuntu), which was running 8.4.1, the default editor is WYSIWYG In Administration | Edit Mode Settings | DEFAULT EDITOR, the dropdown box contains Wysiwyg and Text, and does NOT contain CKEditor If a page in the wiki is selected, the edit icon has the options in the dropdown for WYSIWYG, CKEditor, Wiki & Inline form, then below it, Objects and Class. If CKEditor is selected, the edit window is not shown. I tried an update to 8.4.4, and there is no change in Administration | Edit Mode Settings | DEFAULT EDITOR, but when a page is edited, it now shows in the place where I would expect to see the edit window the below Content #ckeditor($parameters) I'm lost as to where to look next, and would welcome some guidance. Cheers Arne
In standard XE, CKEditor is indicated as default in /etc/xwiki/xwiki.properties configuration file. Maybe you had conflict at some point in xwiki.properties and kept the previous version (and then apt kept it like this since there was no change in standard xwiki.properties file). Here is how it's supposed to look like at the end: #-# [Since 8.2RC1] #-# Indicate the default editor to use for a specific data type. #-# The editors are components so they are specified using their role hints. #-# Some data types can be edited in multiple ways, by different types of editors. #-# Thus you can also indicate the default editor to use from a specific category (editor type). #-# #-# The format is this: #-# edit.defaultEditor.<dataType>=<roleHintOrCategory> #-# edit.defaultEditor.<dataType>#<category>=<roleHintOrSubCategory> #-# #-# The default bindings are: # edit.defaultEditor.org.xwiki.rendering.syntax.SyntaxContent=text # edit.defaultEditor.org.xwiki.rendering.syntax.SyntaxContent#text=text # edit.defaultEditor.org.xwiki.rendering.block.XDOM=text # edit.defaultEditor.org.xwiki.rendering.block.XDOM#text=text edit.defaultEditor.org.xwiki.rendering.syntax.SyntaxContent#wysiwyg=ckeditor edit.defaultEditor.org.xwiki.rendering.block.XDOM#wysiwyg=ckeditor On Mon, Jan 16, 2017 at 7:06 PM, shouldbe q931 <[email protected]> wrote:
Hi All,
On an infrequently maintained xwiki instance (.deb on Ubuntu), which was running 8.4.1, the default editor is WYSIWYG
In Administration | Edit Mode Settings | DEFAULT EDITOR, the dropdown box contains Wysiwyg and Text, and does NOT contain CKEditor
If a page in the wiki is selected, the edit icon has the options in the dropdown for WYSIWYG, CKEditor, Wiki & Inline form, then below it, Objects and Class. If CKEditor is selected, the edit window is not shown.
I tried an update to 8.4.4, and there is no change in Administration | Edit Mode Settings | DEFAULT EDITOR, but when a page is edited, it now shows in the place where I would expect to see the edit window the below
Content #ckeditor($parameters)
I'm lost as to where to look next, and would welcome some guidance.
Cheers
Arne
-- Thomas Mortagne
On Mon, Jan 16, 2017 at 8:06 PM, shouldbe q931 <[email protected]> wrote:
Hi All,
On an infrequently maintained xwiki instance (.deb on Ubuntu), which was running 8.4.1, the default editor is WYSIWYG
In Administration | Edit Mode Settings | DEFAULT EDITOR, the dropdown box contains Wysiwyg and Text, and does NOT contain CKEditor
That's normal. Below "Default Editor" you should have "Default WYSIWYG Editor" as in http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Applicat... . That is the property that should list CKEditor as a possible value. But CKEditor should be the default WYSIWYG editor in XWiki 8.4.1 even if you leave this property unset.
If a page in the wiki is selected, the edit icon has the options in the dropdown for WYSIWYG, CKEditor, Wiki & Inline form, then below it, Objects and Class.
XWiki 8.4.1 is using CKEditor 1.9 which doesn't extend the edit menu, see http://jira.xwiki.org/browse/CKEDITOR-96 .
If CKEditor is selected, the edit window is not shown.
Did you upgrade to 8.4.1 from a previous version? It may be the case that CKEditor was not upgraded properly. Or maybe you didn't clear the browser cache.
I tried an update to 8.4.4, and there is no change in Administration | Edit Mode Settings | DEFAULT EDITOR, but when a page is edited, it now shows in the place where I would expect to see the edit window the below
Content #ckeditor($parameters)
It seems CKEditor was still not upgraded properly.
I'm lost as to where to look next, and would welcome some guidance.
Cheers
Arne
On Tue, Jan 17, 2017 at 10:54 AM, Thomas Mortagne <[email protected]> wrote:
In standard XE, CKEditor is indicated as default in /etc/xwiki/xwiki.properties configuration file.
Maybe you had conflict at some point in xwiki.properties and kept the previous version (and then apt kept it like this since there was no change in standard xwiki.properties file).
Here is how it's supposed to look like at the end:
#-# [Since 8.2RC1] #-# Indicate the default editor to use for a specific data type. #-# The editors are components so they are specified using their role hints. #-# Some data types can be edited in multiple ways, by different types of editors. #-# Thus you can also indicate the default editor to use from a specific category (editor type). #-# #-# The format is this: #-# edit.defaultEditor.<dataType>=<roleHintOrCategory> #-# edit.defaultEditor.<dataType>#<category>=<roleHintOrSubCategory> #-# #-# The default bindings are: # edit.defaultEditor.org.xwiki.rendering.syntax.SyntaxContent=text # edit.defaultEditor.org.xwiki.rendering.syntax.SyntaxContent#text=text # edit.defaultEditor.org.xwiki.rendering.block.XDOM=text # edit.defaultEditor.org.xwiki.rendering.block.XDOM#text=text edit.defaultEditor.org.xwiki.rendering.syntax.SyntaxContent#wysiwyg=ckeditor edit.defaultEditor.org.xwiki.rendering.block.XDOM#wysiwyg=ckeditor
The end of the file /etc/xwiki/xwiki.properties looks like #-# [Since 8.2RC1] #-# Indicate the default editor to use for a specific data type. #-# The editors are components so they are specified using their role hints. #-# Some data types can be edited in multiple ways, by different types of editors. #-# Thus you can also indicate the default editor to use from a specific category (editor type). #-# #-# The format is this: #-# edit.defaultEditor.<dataType>=<roleHintOrCategory> #-# edit.defaultEditor.<dataType>#<category>=<roleHintOrSubCategory> #-# #-# The default bindings are: # edit.defaultEditor.org.xwiki.rendering.syntax.SyntaxContent=text # edit.defaultEditor.org.xwiki.rendering.syntax.SyntaxContent#text=text # edit.defaultEditor.org.xwiki.rendering.block.XDOM=text # edit.defaultEditor.org.xwiki.rendering.block.XDOM#text=text edit.defaultEditor.org.xwiki.rendering.syntax.SyntaxContent#wysiwyg=ckeditor edit.defaultEditor.org.xwiki.rendering.block.XDOM#wysiwyg=ckeditor Cheers Arne
On Tue, Jan 17, 2017 at 10:58 AM, Marius Dumitru Florea <[email protected]> wrote:
On Mon, Jan 16, 2017 at 8:06 PM, shouldbe q931 <[email protected]> wrote:
Hi All,
On an infrequently maintained xwiki instance (.deb on Ubuntu), which was running 8.4.1, the default editor is WYSIWYG
In Administration | Edit Mode Settings | DEFAULT EDITOR, the dropdown box contains Wysiwyg and Text, and does NOT contain CKEditor
That's normal. Below "Default Editor" you should have "Default WYSIWYG Editor" as in http://extensions.xwiki.org/xwiki/bin/view/Extension/Administration+Applicat... . That is the property that should list CKEditor as a possible value. But CKEditor should be the default WYSIWYG editor in XWiki 8.4.1 even if you leave this property unset.
The edit mode looks like https://s23.postimg.org/mnapaie3f/editmode.png
If a page in the wiki is selected, the edit icon has the options in the dropdown for WYSIWYG, CKEditor, Wiki & Inline form, then below it, Objects and Class.
XWiki 8.4.1 is using CKEditor 1.9 which doesn't extend the edit menu, see http://jira.xwiki.org/browse/CKEDITOR-96 .
If CKEditor is selected, the edit window is not shown.
If I try to edit a (blank) page with CK editor https://s30.postimg.org/9ftdmdri9/ckeditor.png
Did you upgrade to 8.4.1 from a previous version? It may be the case that CKEditor was not upgraded properly. Or maybe you didn't clear the browser cache.
Yes it was updated, but I couldn't tell you what the previous version was, I think it started out as a 2.x.x release
I tried an update to 8.4.4, and there is no change in Administration | Edit Mode Settings | DEFAULT EDITOR, but when a page is edited, it now shows in the place where I would expect to see the edit window the below
Content #ckeditor($parameters)
It seems CKEditor was still not upgraded properly.
As ckeditor shows as "Installed as a dependency", how might I go about upgrading it properly ? https://s27.postimg.org/6k9up5i8j/dependency.png Cheers Arne
On Tue, Jan 17, 2017 at 10:48 PM, shouldbe q931 <[email protected]> wrote:
On Tue, Jan 17, 2017 at 10:58 AM, Marius Dumitru Florea <[email protected]> wrote:
On Mon, Jan 16, 2017 at 8:06 PM, shouldbe q931 <[email protected]> wrote:
Hi All,
On an infrequently maintained xwiki instance (.deb on Ubuntu), which was running 8.4.1, the default editor is WYSIWYG
In Administration | Edit Mode Settings | DEFAULT EDITOR, the dropdown box contains Wysiwyg and Text, and does NOT contain CKEditor
That's normal. Below "Default Editor" you should have "Default WYSIWYG Editor" as in http://extensions.xwiki.org/xwiki/bin/view/Extension/ Administration+Application#HEditModeSettings . That is the property that should list CKEditor as a possible value. But CKEditor should be the default WYSIWYG editor in XWiki 8.4.1 even if you leave this property unset.
The edit mode looks like
This is how it should look like, since XWiki 8.2 http://www.xwiki.org/xwiki/bin/download/ReleaseNotes/ReleaseNotesXWiki82RC1/... . So your administration UI (i.e. wiki pages) has not been upgraded property. You're missing at least the "Default WYSIWYG Editor" drop down and the "Syntaxes" configuration section (on the left).
If a page in the wiki is selected, the edit icon has the options in the dropdown for WYSIWYG, CKEditor, Wiki & Inline form, then below it, Objects and Class.
XWiki 8.4.1 is using CKEditor 1.9 which doesn't extend the edit menu, see http://jira.xwiki.org/browse/CKEDITOR-96 .
If CKEditor is selected, the edit window is not shown.
If I try to edit a (blank) page with CK editor
https://s30.postimg.org/9ftdmdri9/ckeditor.png
Did you upgrade to 8.4.1 from a previous version? It may be the case that CKEditor was not upgraded properly. Or maybe you didn't clear the browser cache.
Yes it was updated, but I couldn't tell you what the previous version was, I think it started out as a 2.x.x release
I tried an update to 8.4.4, and there is no change in Administration | Edit Mode Settings | DEFAULT EDITOR, but when a page is edited, it now shows in the place where I would expect to see the edit window the below
Content #ckeditor($parameters)
It seems CKEditor was still not upgraded properly.
As ckeditor shows as "Installed as a dependency", how might I go about upgrading it properly ?
You cannot upgrade it in 8.4.1 ( http://jira.xwiki.org/browse/XE-1570 ) but 1.10 is the latest version ATM anyway. The problem you have, most probably, is that it wasn't upgraded correctly to this 1.10 version, and since you're also missing stuff from the administration it looks like the problem is more general: the upgrade to XWiki 8.4.1 was not done correctly (at least for the UI part). Did you use the Distribution Wizard to upgrade the wiki pages? You probably had merge conflicts which were not resolved correctly (either by Extension Manager or by the person that did the upgrade).
Cheers
Arne
On Wed, Jan 18, 2017 at 6:38 AM, Marius Dumitru Florea <[email protected]> wrote:
On Tue, Jan 17, 2017 at 10:48 PM, shouldbe q931 <[email protected]> wrote:
On Tue, Jan 17, 2017 at 10:58 AM, Marius Dumitru Florea <[email protected]> wrote:
On Mon, Jan 16, 2017 at 8:06 PM, shouldbe q931 <[email protected]> wrote:
The edit mode looks like
This is how it should look like, since XWiki 8.2 http://www.xwiki.org/xwiki/bin/download/ReleaseNotes/ReleaseNotesXWiki82RC1/... . So your administration UI (i.e. wiki pages) has not been upgraded property. You're missing at least the "Default WYSIWYG Editor" drop down and the "Syntaxes" configuration section (on the left).
it doesn't look like that :-(
As ckeditor shows as "Installed as a dependency", how might I go about upgrading it properly ?
You cannot upgrade it in 8.4.1 ( http://jira.xwiki.org/browse/XE-1570 ) but 1.10 is the latest version ATM anyway. The problem you have, most probably, is that it wasn't upgraded correctly to this 1.10 version, and since you're also missing stuff from the administration it looks like the problem is more general: the upgrade to XWiki 8.4.1 was not done correctly (at least for the UI part). Did you use the Distribution Wizard to upgrade the wiki pages? You probably had merge conflicts which were not resolved correctly (either by Extension Manager or by the person that did the upgrade).
I'm fairly sure that there were no obvious issues when using the distribution wizard last time (so much nicer then it used to be). When I tried an update to 8.4.4, there were some merge conflicts, and on each of them I chose to not merge and not keep the old. The screengrabs in the links were taken after I had upgraded to 8.4.4, I have since reverted it to the (offline) snapshot of the database server and xwiki server I took before the upgrade (the joy of virtualisation :-) Should I try importing the 8.4.1 admin .war and see if that fixes it ? or is there a different course you would suggest ? Cheers Arne
On Thu, Jan 19, 2017 at 1:04 AM, shouldbe q931 <[email protected]> wrote:
On Wed, Jan 18, 2017 at 6:38 AM, Marius Dumitru Florea <[email protected]> wrote:
On Tue, Jan 17, 2017 at 10:48 PM, shouldbe q931 <[email protected]> wrote:
On Tue, Jan 17, 2017 at 10:58 AM, Marius Dumitru Florea <[email protected]> wrote:
On Mon, Jan 16, 2017 at 8:06 PM, shouldbe q931 < [email protected]> wrote:
The edit mode looks like
This is how it should look like, since XWiki 8.2 http://www.xwiki.org/xwiki/bin/download/ReleaseNotes/ ReleaseNotesXWiki82RC1/WebHome/defaultWysiwygEditorConfig.png . So your administration UI (i.e. wiki pages) has not been upgraded property. You're missing at least the "Default WYSIWYG Editor" drop down and the "Syntaxes" configuration section (on the left).
it doesn't look like that :-(
As ckeditor shows as "Installed as a dependency", how might I go about upgrading it properly ?
You cannot upgrade it in 8.4.1 ( http://jira.xwiki.org/browse/XE-1570 ) but 1.10 is the latest version ATM anyway. The problem you have, most probably, is that it wasn't upgraded correctly to this 1.10 version, and since you're also missing stuff from the administration it looks like the problem is more general: the upgrade to XWiki 8.4.1 was not done correctly (at least for the UI part). Did you use the Distribution Wizard to upgrade the wiki pages? You probably had merge conflicts which were not resolved correctly (either by Extension Manager or by the person that did the upgrade).
I'm fairly sure that there were no obvious issues when using the distribution wizard last time (so much nicer then it used to be). When I tried an update to 8.4.4, there were some merge conflicts, and on each of them I chose to not merge and not keep the old.
The screengrabs in the links were taken after I had upgraded to 8.4.4, I have since reverted it to the (offline) snapshot of the database server and xwiki server I took before the upgrade (the joy of virtualisation :-)
Should I try importing the 8.4.1 admin .war and see if that fixes it ?
You can try to import the 8.4.1 (or 8.4.4, depends which version you're on) administration XAR (not WAR) http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-administra... . It will probably fix the administration but I'm afraid you may have other pages (outside the administration) that are in the same situation.
or is there a different course you would suggest ?
Cheers
Arne
On Thu, Jan 19, 2017 at 10:07 AM, Marius Dumitru Florea <[email protected]> wrote:
On Thu, Jan 19, 2017 at 1:04 AM, shouldbe q931 <[email protected]> wrote:
On Wed, Jan 18, 2017 at 6:38 AM, Marius Dumitru Florea <[email protected]> wrote:
On Tue, Jan 17, 2017 at 10:48 PM, shouldbe q931 <[email protected]> wrote:
On Tue, Jan 17, 2017 at 10:58 AM, Marius Dumitru Florea <[email protected]> wrote:
On Mon, Jan 16, 2017 at 8:06 PM, shouldbe q931 < [email protected]> wrote:
The edit mode looks like
This is how it should look like, since XWiki 8.2 http://www.xwiki.org/xwiki/bin/download/ReleaseNotes/ ReleaseNotesXWiki82RC1/WebHome/defaultWysiwygEditorConfig.png . So your administration UI (i.e. wiki pages) has not been upgraded property. You're missing at least the "Default WYSIWYG Editor" drop down and the "Syntaxes" configuration section (on the left).
it doesn't look like that :-(
As ckeditor shows as "Installed as a dependency", how might I go about upgrading it properly ?
You cannot upgrade it in 8.4.1 ( http://jira.xwiki.org/browse/XE-1570 ) but 1.10 is the latest version ATM anyway. The problem you have, most probably, is that it wasn't upgraded correctly to this 1.10 version, and since you're also missing stuff from the administration it looks like the problem is more general: the upgrade to XWiki 8.4.1 was not done correctly (at least for the UI part). Did you use the Distribution Wizard to upgrade the wiki pages? You probably had merge conflicts which were not resolved correctly (either by Extension Manager or by the person that did the upgrade).
I'm fairly sure that there were no obvious issues when using the distribution wizard last time (so much nicer then it used to be). When I tried an update to 8.4.4, there were some merge conflicts, and on each of them I chose to not merge and not keep the old.
The screengrabs in the links were taken after I had upgraded to 8.4.4, I have since reverted it to the (offline) snapshot of the database server and xwiki server I took before the upgrade (the joy of virtualisation :-)
Should I try importing the 8.4.1 admin .war and see if that fixes it ?
You can try to import the 8.4.1 (or 8.4.4, depends which version you're on) administration XAR (not WAR) http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-administra... . It will probably fix the administration but I'm afraid you may have other pages (outside the administration) that are in the same situation.
I realised the war/xar mistake just as I clicked send... I imported the .xar, and now in edit mode it shows default wysiwyg editor as well as default edit mode, the only options for default wysiwyg edit are "---" and "GWT" Attempting to use CKEditor to edit a page has had no change. As at least the edit mode shows default wysiwyg editor, I will try another update to 8.4.4 and see if it improves matters, but if you have any other suggestions on what might be tried, I would be very happy to try them. Cheers Arne
On Thu, Jan 19, 2017 at 10:42 AM, shouldbe q931 <[email protected]> wrote:
On Thu, Jan 19, 2017 at 10:07 AM, Marius Dumitru Florea <[email protected]> wrote:
On Thu, Jan 19, 2017 at 1:04 AM, shouldbe q931 <[email protected]> wrote:
On Wed, Jan 18, 2017 at 6:38 AM, Marius Dumitru Florea <[email protected]> wrote:
On Tue, Jan 17, 2017 at 10:48 PM, shouldbe q931 <[email protected]> wrote:
On Tue, Jan 17, 2017 at 10:58 AM, Marius Dumitru Florea <[email protected]> wrote:
On Mon, Jan 16, 2017 at 8:06 PM, shouldbe q931 < [email protected]> wrote:
The edit mode looks like
This is how it should look like, since XWiki 8.2 http://www.xwiki.org/xwiki/bin/download/ReleaseNotes/ ReleaseNotesXWiki82RC1/WebHome/defaultWysiwygEditorConfig.png . So your administration UI (i.e. wiki pages) has not been upgraded property. You're missing at least the "Default WYSIWYG Editor" drop down and the "Syntaxes" configuration section (on the left).
it doesn't look like that :-(
As ckeditor shows as "Installed as a dependency", how might I go about upgrading it properly ?
You cannot upgrade it in 8.4.1 ( http://jira.xwiki.org/browse/XE-1570 ) but 1.10 is the latest version ATM anyway. The problem you have, most probably, is that it wasn't upgraded correctly to this 1.10 version, and since you're also missing stuff from the administration it looks like the problem is more general: the upgrade to XWiki 8.4.1 was not done correctly (at least for the UI part). Did you use the Distribution Wizard to upgrade the wiki pages? You probably had merge conflicts which were not resolved correctly (either by Extension Manager or by the person that did the upgrade).
I'm fairly sure that there were no obvious issues when using the distribution wizard last time (so much nicer then it used to be). When I tried an update to 8.4.4, there were some merge conflicts, and on each of them I chose to not merge and not keep the old.
The screengrabs in the links were taken after I had upgraded to 8.4.4, I have since reverted it to the (offline) snapshot of the database server and xwiki server I took before the upgrade (the joy of virtualisation :-)
Should I try importing the 8.4.1 admin .war and see if that fixes it ?
You can try to import the 8.4.1 (or 8.4.4, depends which version you're on) administration XAR (not WAR) http://maven.xwiki.org/releases/org/xwiki/platform/xwiki-platform-administra... . It will probably fix the administration but I'm afraid you may have other pages (outside the administration) that are in the same situation.
I realised the war/xar mistake just as I clicked send...
I imported the .xar, and now in edit mode it shows default wysiwyg editor as well as default edit mode, the only options for default wysiwyg edit are "---" and "GWT"
Attempting to use CKEditor to edit a page has had no change.
As at least the edit mode shows default wysiwyg editor, I will try another update to 8.4.4 and see if it improves matters, but if you have any other suggestions on what might be tried, I would be very happy to try them.
Updated to 8.4.4 again, no errors seen in the distribution wizard, did not merge/keep with any of the confilcts. Although it showed "default wysiwyg editor" after importing the 8.4.1 admin.xar, after updating to 8.4.4, "default wysiwyg editor" was no longer shown, and the problem remained :-( With nothing to lose, I uninstalled and reinstalled the ckeditor extensions, and after a ctrl+shift+r, ckeditor works :-) Cheers Arne
participants (3)
-
Marius Dumitru Florea -
shouldbe q931 -
Thomas Mortagne