Issues with CKEditor: some styles doesn't work, explicit newlines not respected

I’m overall very impressed with XWiki, which I’m using to write documentation for a software project. However, there are a couple of small things which have been somewhat frustrating:

The default WYSIWYG editor seems to be CKEditor.

Selecting ‘computer code’ or ‘keyboard phrase’ from the Styles menu applies a style within the WYSIWYG editor, but when flicking to Source view, it becomes apparent that no actual change was made to the underlying wiki syntax. When the page is saved, the applied style is lost. By contrast, using the ‘typewriter’ style applies the ##double-octothorpe## wiki formatting, which does persist correctly.

When a bulleted list is inserted into the page, and followed by a level-5 heading, the margin between the last bulleted item and the heading is too small and feels awkward. Inserting more space by adding newlines in the WYSIWYG editor does not work. It’s possible to switch to the source editor and add \\ (double-backslash) to force a newline. This does persist upon save, but the next time the page is edited, CKEditor translates this forced newline to a regular newline, removing the double-backslash from the wiki source - when the page is then saved, the page reverts back to having inadequate spacing.

These are obviously not very large problems, but they’re causing a little friction in the editing experience for me.

I’m using XWiki Enterprise 8.4.4, running Chrome 58 on Windows.

Thanks,
Andy

For the spacing issue, here’s what it looks like in the editor:

And here’s what it looks like when I hit save:

See http://jira.xwiki.org/browse/CKEDITOR-90 which is a duplicate of http://jira.xwiki.org/browse/CKEDITOR-39 which is a duplicate of http://jira.xwiki.org/browse/CKEDITOR-139 which has been fixed in the v1.11 of the CKEditor Integration. You need to upgrade the CKEditor Integration extension from the Wiki Administration. Don’t forget to clear the browser cache after that.

Hope this helps,
Marius