Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Advanced Convert to blocks capability for content with shortcodes #17

Open
bobbingwide opened this issue Mar 11, 2018 · 1 comment
Open
Assignees
Labels
enhancement New feature or request Priority B

Comments

@bobbingwide
Copy link
Owner

Background

  • The Gutenberg plugin provides a Shortcode block.
  • The plugin provides a Convert to blocks action.
  • The Convert to blocks action can be invoked manually.
  • It is also invoked dynamically when content is pasted

This core functionality is rather primitive and has to be used with care.
The blocks created by automatic conversion may result in broken displays.

Requirement

  • Convert to blocks should be sensitive to the context in which shortcodes are used
  • Inline shortcodes should not be converted into separate blocks
  • When converting Block shortcodes the conversion should be to the most appropriate block
  • Conversions between Shortcode blocks should be supported
  • Conversion of Mixed blocks should take context into account.
@bobbingwide bobbingwide added enhancement New feature or request Priority B labels Mar 11, 2018
@bobbingwide bobbingwide self-assigned this Mar 11, 2018
@bobbingwide
Copy link
Owner Author

Question: Should there be a Featured image block and if so, should [bw_fields featured] be converted into that block?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Priority B
Projects
None yet
Development

No branches or pull requests

1 participant