Problems encountered in customizing Ckeditor

Hello, everyone, I have a problem when using Ckeditor customization. I add the button I want to the Ckeditor, then pop up a customized box, fill in the parameters, and display them on Ckeditor, which is very smooth. However, when I clicked save or preview, my map disappeared, and the pictures cited above became paths. What should I do?1547452072(1) 1547452114(1)

The content is converted to wiki syntax on save / preview, so whatever you insert in the editing area needs to have an associated wiki syntax. In other words, whatever you do from the WYSIWYG editor needs to be doable from the Wiki editor using wiki syntax.

What exactly are you inserting? Is it a XWiki rendering macro? How does the inserted HTML look like?