Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Pasting: Convert unknown shortcodes to Shortcode block #3610
Blocks can specify shortcodes from which blocks should be automatically created when pasting. For any other shortcode, the core Shortcode block will now act as a fallback.
The main benefit of this is that, within the Shortcode block, the code will be properly handled and never mishandled. Notably, this fixes the case where a shortcode sitting in a Paragraph block will be picked up with its double quotes rendered as
How Has This Been Tested?
Screenshots (jpeg or gifs if applicable):
Types of changes
@@ Coverage Diff @@ ## master #3610 +/- ## ========================================== - Coverage 37.45% 37.45% -0.01% ========================================== Files 277 277 Lines 6706 6707 +1 Branches 1222 1222 ========================================== Hits 2512 2512 - Misses 3535 3536 +1 Partials 659 659