WYSIWYG / CKEditor - Appearance / Code Snippet Button

Hello,

I am using MediaWiki for Documentation purposes at the moment, but I would like to change my Wiki system to XWiki.

I’ve set up everything, and it is working fine so far.
But I have a few questions regarding the WYSIWYG Editor (CKEditor).

As the Wiki is for Software Development / Scripting Documentation, I need the Code Snippet Macro fairly often.

Is it possible to add a Button for that Macro into the Toolbar, like the bare CKEditor supports:

As I am only allowed to insert one Picture as a new user, I’ve put all together at the end of the post.

And is it somehow possible to just select a text, press a keyboard shortcut, and the selected text is converted to a highlighted code (with no language option and no Pop up), like it’s possible in MediaWiki with Strg + Shift + 6

If you open the Style Drop Down in XWiki it looks like that:

As I am only allowed to insert one Picture as a new user, I’ve put all together at the end of the post.

in the CKEditor Documentation you can find the Styledropdown, with example styles, so it’s easy to see which option creates which output:

As I am only allowed to insert one Picture as a new user, I’ve put all together at the end of the post.

Is it possible to change that behaviour?

grafik

Thanks in advance!
Best regards
Manuel