I would like to give the user the ability to insert custom elements in the WordPress editor such as an accordion panel item for example. Or a an element which has an certain class or an inline style margin for example without using the HTML editor. Only using the WYSIWYG editor.
Is there a comfortable way to do this?
You can create an own plugin (this is not that difficult) and add one or more buttons to let users insert those things.