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

Gutenberg support #190

chrisbergr opened this Issue Jul 10, 2018 · 5 comments


None yet
3 participants

chrisbergr commented Jul 10, 2018

Hi David,

the theme I'm workin on currently will be a WordPress 5.0 theme, so I'm working local on nightly builds of WordPress beta. Because of selfdogfooding I'm supporting many of your indieweb related plugins by default. In case of post kinds I've noticed, that there (in Gutenberg) aren't any of the special form fields visible, to be able adding the url I'm responding to.

The other strange thing I noticed, after posting a bookmark (as mentioned above, without bookmark url), the post got the css class "kind-note". Does this happen because of the missing relation?

I'm wondering about your plans for Gutenberg. Will you release something for wp beta or do you start active development after the public release of WordPress 5.0?

BTW: If you need / want some help according to UI elements or the UX of this plugin, I'd love to get involved.

Best, Chris


This comment has been minimized.


dshanske commented Jul 11, 2018

@chrisbergr Thank you for the request. Gutenberg is something of a worry for me, as I haven't quite figured out in my mind how it would work with the plugin. Post Kinds consists of a few elements

  • A URL parser that takes an input URL and tries to extract it into structured data
  • Enhancements to the Post Editor to add additional structured data to the post object
  • A Taxonomy that takes that structured data and classifies it and dictates behavior
  • A rendering piece that takes the structured data stored in post meta and displays it using templates that can be overridden in the theme by including them in a subdirectory called kind_views

If you are using Gutenberg, I've made no modifications to ensure the behavior works. The taxonomy being set, which is what I assumed you did in Gutenberg, wouldn't trigger any of the other behavior.

I have been following Gutenberg a bit, but I haven't figured out how the block based philosophy would work with different Post Kinds. Because I'm not sure how that would work in the long run, I'm hedging my bets by working on Micropub integration so that, in the event Gutenberg causes major issues to integrate, people can use Micropub client apps to post to their sites while I figure it out.


This comment has been minimized.

chrisbergr commented Jul 11, 2018

Micropub integration is a great win. Beside that I bet the Classic Editor Plugin will grow it's installations count very high after the release of 5.0.

The Gutenberg block based editor is a great tool for writing articles. For all other post kinds it's a bit too much I think. 99% of all rsvp's, replies, bookmarks etc.. I'll not need multiple paragraph blocks, images, columns and so on. But it will be the new default way of writing in WordPress..

I can see if I find some time in the next couple days to povide you some sketches how the post kinds elements can be implemented into Gutenberg to get a great experience.


This comment has been minimized.


dshanske commented Jul 11, 2018

That would be very helpful, thanks


This comment has been minimized.


miklb commented Jul 11, 2018

I have some thoughts on this front as well. I intend to start digging in in a couple of weeks.


This comment has been minimized.

chrisbergr commented Sep 9, 2018

Just a little update:

Instead of just sketching my ideas I thought it would be better (according to your interest in this topic) to contribute some code.

With very little changes ( I got the meta boxes appear at the right sidebar of the editor. There are some problems now:

  • It would be better to create a static block above the title block for the kind settings instead of the small meta box in the sidebar.
    Unfortunately I have to less knowledge about the functions of this plugin and only very basic knowledge about the Gutenberg Blocks so far.
  • The argument 'meta_box_cb' for custom taxonomies will be ignored in Gutenberg, so instead of the list of post kinds there is the same input/search field as used by tags. There may be a solution ( but this will be a very huge change of the code.
  • I can type in e.g. 'reply' and add the URL - this works as expected. But because of the missing kinds radio form, the corresponding javascript function 'changeSettings' doesn't work anymore, so I can not RSVPing (e.g.)

Maybe I can digg deeper into both, the post kinds plugin and the gutenberg editor. But hopefuly some gen 1 indieweb citizen got inspired by my observations and can solve this by a fraction of the time I would need to spend.

At the end, I'm just a designer :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment