-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Closed
makbarGroup/gutenberg
#31Labels
[Feature] Code EditorHandling the code view of the editing experienceHandling the code view of the editing experience[Priority] LowUsed to indicate that the issue at hand isn't a top priority to address and can be handled laterUsed to indicate that the issue at hand isn't a top priority to address and can be handled later[Type] EnhancementA suggestion for improvement.A suggestion for improvement.
Description
In the Classic editor, if you're in Text
mode and you click on the Add Media
button, the media modal pops up. You can then select an image, and its raw markup will be inserted into the post content. You get the same markup as you would performing that operation in Visual
mode.
In Gutenberg, however, if you switch to the Code Editor and add an Image block, you just get placeholder markup:
<!-- wp:image -->
<figure class="wp-block-image"><img alt=""/></figure>
<!-- /wp:image -->
If you select a table block, all you get is <!-- wp:table /-->
I'd expect the block GUI to pop up and allow selection of options, etc. Then, the proper markup should be inserted into the post content.
Metadata
Metadata
Assignees
Labels
[Feature] Code EditorHandling the code view of the editing experienceHandling the code view of the editing experience[Priority] LowUsed to indicate that the issue at hand isn't a top priority to address and can be handled laterUsed to indicate that the issue at hand isn't a top priority to address and can be handled later[Type] EnhancementA suggestion for improvement.A suggestion for improvement.