Quid of the Gutenberg integration ?
-
Hello
As Gutenberg is the futur of WordPress text edition, I wonder what will become Yada Wiki.
Does Yada Wiki will be compliant with Gutenberg editor ? Is it planned to integrate it into the Gutenberg editor ?Thank you in advance for your return
-
Hi engeldivinci,
I had time and was ready to support Gutenberg a year ago. I asked numerous times on Github and elsewhere how to provide the editor buttons and insert the shortcode inline with the content. Eventually the responses were that this ability is not available yet. I paid for and took a course on Gutenberg development. There were initiatives offering plugin developers help in porting and I responded to them and eventually got the same answers. This has been very frustrating for me.
Gutenberg is still changing, but I think I found a way to have a setting to turn it off or on for Wiki articles. So adding a setting is an option.
A few weeks ago I spent hours looking through plugins in the plugin directory at ones that might have similar behavior and, after going through many, found one with code from a core developer that has a similar behavior. So, there is presently no porting guide that works for Yada Wiki. As I have time I will see if I can reverse engineer this plugin and add Gutenberg support. Ideally I would like to add blocks for the “TOC” options also.
I don’t mean to sound negative. I’m just telling you my experience so far. I have a job and take college courses. So the short answer is that I intend to do so as I have time.
The Classic Editor plugin gives you to the choice for each article to use the classic editor or Gutenberg, so that is an option to keep in mind if you want to go ahead and use Gutenberg for your posts and pages.
How important is it for you to have Gutenberg support ASAP?
Hello dmccan
First of all, thank you for your answer and your great job on Yada Wiki ! I forgot that your plugin is not your profesionnal activity. I can understand how frustrating it can be for you to see your work vanishing into the new WordPress architecture.
I actually maintain a private wiki reliying on WordPress and Yada Wiki. As we’re writting a lot of text content, the full screen edition mode is really interesting for us.
We are wondering what is the best solution for us:
1. Keeping the actual solution based on CK Editor seems not really sustainable.
2. Migrating our content from our current Wiki to the Gutemberg plugin could be a solution but takes time
3. Waiting for future Gutenberg or Yada Wiki improvements ?What would you advice in our case ?
Thank you again
Best regards
NicolasHi Nicolas,
It sounds like you have a strong interest in moving to Gutenberg. Gutenberg issues will eventually get ironed out and that it will be a good step forward for WordPress. Personally, I’d wait for the dust to settle after Gutenberg’s release before jumping into a change, unless it fit your needs exactly.
I often tend to want things resolved and on the newest and best version. If that describes you also, then I’d be happy to give you some high level advice for how to migrate to some other solution.
Have you tried Yada Wiki with Gutenberg? It should work fine, but you will have to manually enter the shortcodes. I expect that I will find a way forward for Yada Wiki to take advantage of the Gutenberg editor, but don’t have a timeline. I’m getting the impression that I’d make better progress starting over and just targeting Gutenberg and then adding back support for the Class Editor.
Best regards,
David
Hi,
Thanks again.
It’s true that I tend to want the newest version of things but in Gutenberg case, it brings a real value in our process ??Anyway, I would love to test the Yada Wiki with Gutenberg but did not find any documentation on it (https://www.webtng.com/yada-wiki-documentation/)
Could you send me a link or basically describe me how to do it ? I’d love to test even an intermediate solution. I did install Gutenberg on my WordPress but it only appears to edit article and pages and not wiki. Every plugins are up-to-date.
Best regards
NicolasHi Nicolas,
I realized that I will need to add support for the Rest API (which Gutenberg uses). I forgot I’ve done that on my development version, so Gutenberg worked. I’ll push a new version of the plugin in a week or so.
Thanks for offering to test.
Best,
David
I’ll be glad to test and write feedbacks.
Best
NicolasHi Nicolas,
I pushed a test version to github. You can click on the green “Clone or Download” button and there is an option to download it as a zip file.
https://github.com/dmccan/yada-wiki
I’m assuming that you have a development version of WordPress. It is not a good idea to use a test version on your production site. If you do have a dev site then this version should allow you to use Gutenberg. It has support for the Rest API. There isn’t any other support added.
The information on what shortcodes are available is here on www.ads-software.com on the plugin home page. You will need to add the shortcodes manually and I imagine that the buttons with the popup are a big convenience. However, you should be able to opt for the Gutenberg editor. If you have Gutenberg installed and click on the add new button then Gutenberg will be the default. If you go to All Wiki Pages then the Add New button is a drop down and you can select Gutenberg or the classic editor. Let me know if you need more information.
Thanks for offering to take a look. I’m thinking that the next change will be a setting to use the classic or Gutenberg editor, but I want to wait for a beta before adding that.
Regards,
David
Hello David,
Congrats for this new version !
I will test it as soon as possible and write you my feedbacks.
Do you have any preferences where I can write you my comments ? In this thread or to a peculiar email address ?Let me know.
Best regards
NicolasHello David,
I download your code and test it on my dev site.
* No problem on installation.
* Opting for Gutenberg editor through dropdown menu ok
* Compatibility with existing wiki pages ok* I found a bug by adding manually this shortcode: [yadawiki link=”How To Make Iced Coffee” show=”How To Make My Favorite Drink”]
** It creates the link on the published page
** It displays only the word “How” and not the complete sentence. There is a bug on the “show” property.
** When you click on the link, it edits a new page.Except that point, it works fine.
Let me know, if you need more informations.Best
Nicolas- This reply was modified 6 years, 1 month ago by Nicolas.
Hi Nicolas,
Thank you for giving it a try. It worked fine for me. Perhaps you copied the shortcode and text from the WP page? If so, paste it into Notepad and you see that it has left and right double quotes, which I think are different characters … if that makes sense. Replace those with the double quote from you keyboard and it should work fine.
Best,
David
You were right about the double quotes. Everything is fine.
No bug found. I gonna test it live and will see user’s feedbacks.Best
NicolasHi engeldivinci,
I have updated the code on
https://github.com/dmccan/yada-wiki
There is now a setting under Admin-Settings/Yada Wiki for enabling Gutenberg. This way it will be off by default, but people can use Gutenberg if they wish.
The WordPress team made some changes to WordPress core when they merged Gutenberg in and you should update the plugin before you upgrade to WordPress 5.0.
I’ve been waiting for a WordPress 5.0 release candidate before pushing this to www.ads-software.com. I plan to do that next week. Please let me know if you have any issues.
Thank you David.
We are going to test the new version !Best regards
Hi engeldivinci,
I published version 3.1 to the WordPress plugin directory. Please let me know if you see any issues or have any questions.
Best,
David
Thank you for your great work. We appreciate it a lot !
Best
Nicolas
- The topic ‘Quid of the Gutenberg integration ?’ is closed to new replies.