On my journey with XWiki I stumbled up on CKEditor and tables …
One handy function would be to be able copy table rows. But I was unsuccessful with that. When copying a row and inserting it on the next one, the table cells are inserted into the first cell of the target row (all cells from the source row).
Is there a way to achieve this? I read that this was often a challenge with CKE in general …
The CKEditor integration in XWiki doesn’t do any significant customization to the table editing features, so if the standard CKEditor doesn’t support table row copy & paste then XWiki won’t have it either. I’ve no idea if there is a third party plugin or any other way to achieve this.
Thank you for the update. In various forums on the internet, issues were reported with the fore mentioned functionality. Most of them were addressed mean while. I tested it with:
and it works well in the nightly build. Didn’t find out easily what version of CKEditor is bundled with the 1.14 version of the extension …
I just realized that the 8.4.5 track of XWiki installs the compatible version of extensions - which is fine - but most of them are not the latest version of the extension (somehow logical).
This begs the question if I would be better off with the 9.x track in the intranet I intend to build? This would provide updated extensions and patches in case of issues …
Thank you for the detailed answer. I can confirm that v1.18 did resolve the copy table row issue and it now works as expected.
BTW: is there a check during the installation/upgrade of an Extension if it will work with an older Wiki version? Or in other words is it “safe” to always upgrade to the latest version?
Each XWiki extension specifies the minimum XWiki version it works with. For instance, CKEditor Integration v1.18 has XWIki 6.2.5 as minimum version (you can get this info from the extension page http://extensions.xwiki.org/xwiki/bin/view/Extension/CKEditor+Integration ). The Extension Manager won’t allow you to install CKEditor v1.18 on an older XWiki instance.
So to answer your question, if you can install an extension with the Extension Manager then it should work. If it’s not the case then it’s a bug. It’s hard to say whether it’s safe or not. Obviously upgrading to a major version (e.g. 2.3 to 3.1) is more dangerous than upgrading to a minor (bug fix) version (e.g. 2.3 to 2.5). I any case, you can downgrade from the Extension Manager if you notice problems after the upgrade.
Thank you very much for the detailed answer and patience.
OK, I see (again lazy me - didn’t notice the “+” on the compatibility string). Great to know that there is a “safeguard” to avoid incompatible extensions.