Skip to main content

Could we consider adding shortcuts to Code snippets?

During our workflow with paste Code lines for our customers very often - and in our previous helpdesk system we were able to mark a pasted text, click a button, and it would've been converted to a Code Block.

Here, to add a code block, I have to press a menu button (insert), select code sample, select the code sample type (though I guess it can stay as the default html/xml), type in the lines, and press save.

And even after that - it seems like the editor doesn't allow me to edit an already-pasted code block - it treats it as one character or something, attempting to delete something in it, deletes the entire code block.

 

Could we have a shortcut available in the toolbar to either:

1. Quickly open the 'insert new code' menu, or better yet in my head:

2. Being able to mark text and convert it into a code block

 

(Keyboard shortcuts to perform such actions are also very welcome, if possible).

2 risposte
  1. 24 ott 2025, 16:31

    At SUSE we would be very interested in this as well. It's been a while...

0/9000