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

How to deal with functionality like in "Secondary Title" plugin #4472

Closed
ghost opened this issue Jan 15, 2018 · 5 comments
Closed

How to deal with functionality like in "Secondary Title" plugin #4472

ghost opened this issue Jan 15, 2018 · 5 comments
Labels
[Type] Help Request Help with setup, implementation, or "How do I?" questions. [Type] Plugin Interoperability Incompatibilities between a specific plugin and the block editor. Close with workaround notes.

Comments

@ghost
Copy link

ghost commented Jan 15, 2018

Issue Overview

Making intense use of the secondary title plugin, we are wondering how that kind of functionality will be supported in Gutenberg.

image

Is this in scope of the backwards compatibility efforts in Gutenberg, as it is obviously not a meta box?

How can this be implemented in Gutenberg?

PS.
I get that there is a workaround by creating a block mapped to a custom field, but that would require user action to add it, and would appear in the wrong place.

@Soean Soean added the [Type] Plugin Interoperability Incompatibilities between a specific plugin and the block editor. Close with workaround notes. label Jan 15, 2018
@danielbachhuber danielbachhuber added the [Type] Help Request Help with setup, implementation, or "How do I?" questions. label Jan 23, 2018
@danielbachhuber
Copy link
Member

Related #4151

Is this in scope of the backwards compatibility efforts in Gutenberg, as it is obviously not a meta box?

Not sure, to be honest. I'd think it'd be out of scope but I also don't know that it's impossible to provide compatibility for.

How can this be implemented in Gutenberg?

Conceptually, it seems like it should be able to map a block to a fixed location in Gutenberg.

@mellis32
Copy link

mellis32 commented Feb 6, 2018

This and other custom field plugins are my main gripe with gutenberg. I wish this can be addressed so we don't loose native UI support for all of these custom field plugins.

@benhuson
Copy link

benhuson commented Feb 8, 2018

@danielbachhuber Also note that defined a fixed, required block using a template for a post type at the moment will not automatically add that block placeholder to existing posts. See #4476

@designsimply designsimply added the [Status] Needs More Info Follow-up required in order to be actionable. label Jul 9, 2018
@designsimply
Copy link
Member

designsimply commented Jul 9, 2018

Noting the link for the plugin mentioned for reference: https://wordpress.org/plugins/secondary-title/

Now that Gutenberg has a subheading block and #4476 has been fixed, do you still need answers here? If yes, could we work together to make the issue title more actionable and relevant and could you describe in a bit more detail inside this issue about what functionality you're requesting? Once we have more detail, we can reopen the issue.

@ghost
Copy link
Author

ghost commented Jul 10, 2018

@designsimply Thanks, personally i am fine with closing this issue, as i am no longer involved in Wordpress and Gutenberg. So just a few thoughts:

  • the subheading block is part of the content and describes itself as 'Smaller than a headline, bigger than basic text.' That's fine, but not what we want here.
  • whereas a secondary title is not part of the content but attached to the title itself.
  • it appears above/below/beneath the title not only in the post's full view, but also in archives and widgets like 'recent posts', and in custom templates like a magazine's home page.
  • so from a plugin authors point of view, there is a need to add something (a text control) above or below the title. (The same spot as on the front end for good UX).
  • and the need to grab the value in a simple way (meta attribute?) without parsing the whole content for a subhead block.

As i am not at all up-to-date with Gutenberg's extensibility right now, this may allready be possible.

@designsimply designsimply removed the [Status] Needs More Info Follow-up required in order to be actionable. label Jul 18, 2018
@ghost ghost mentioned this issue Jul 31, 2018
10 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Help Request Help with setup, implementation, or "How do I?" questions. [Type] Plugin Interoperability Incompatibilities between a specific plugin and the block editor. Close with workaround notes.
Projects
None yet
Development

No branches or pull requests

5 participants