Joen Asmussen
Forum Replies Created
-
Forum: Plugins
In reply to: [Gutenberg] Suggestion: Text Width in Gutenberg Based on ThemeAgreed!
Forum: Plugins
In reply to: [Gutenberg] Font size in Gutenberg sidebarHi @beggers
If you’re referring to this one:
then the answer is that this is part of the block editor itself, but is currently only available for the Paragraph block.
An effort is underway to expand both the font size and other features (colors and such) beyond just this block.
Hope that helps!
Forum: Plugins
In reply to: [Gutenberg] Problems with mobile responsivityHi @lontanodagliocchi, I was able to view the video, thanks. From the video it looks like a button with a lightning bolt is added to the preview button. Is this from an AMP plugin? If yes, can you try disabling that plugin and seeing if it works? If it’s the case that plugin is at fault, then that’s where it needs to be fixed.
Forum: Plugins
In reply to: [Gutenberg] How do I configure the Gutenberg editor?π€
Forum: Plugins
In reply to: [Gutenberg] How do I configure the Gutenberg editor?Yep, I hear you. I couldn’t immediately find a plug-in that lets you accomplish what you’re after, but I did find this ticket: https://github.com/WordPress/gutenberg/issues/20588
It seems to aim to provide the missing pieces. It also links to https://make.wordpress.org/core/2020/01/23/controlling-the-block-editor/ which comes with a few code examples. Maybe you can put together a small plug-in from those as a holdover?
Forum: Plugins
In reply to: [Gutenberg] How do I configure the Gutenberg editor?Hi @felixult,
I don’t know that it’s possible as an administrator to disable certain sections of the editor on a per user-role basis, and not all at once.
However on a per-user basis you can _hide_ panels. Click the … more menu, then click Options, and you can hide elements:
Hope that helps!
Forum: Plugins
In reply to: [Gutenberg] Errors occurred after WordPress 5.4 upgradeHi @e110, sorry to hear you’re having trouble.
Judging by this thread, https://wordpress.org/support/topic/bug-after-updating-to-wordpress-5-4/, it seems like a theme called “Stargazer” may be having an issue here. Are you running that theme, perchance? And if yes, then Justin’s response here may help: https://wordpress.org/support/topic/bug-after-updating-to-wordpress-5-4/#post-12645675
Forum: Plugins
In reply to: [Gutenberg] Beta, Dev, Nightly> Why donβt you offer a plugin to enable installation of beta, dev and nightly versions for Gutenberg?
Hi @slkfsdf8y34ljhsfsdfkuhfkl84hj!
To create such a plugin, we’d first have to make a system that creates nightly builds. This would be nice to have, but has not yet happened.
Development happens on Github, though, and it comes with a local development environment that you can install yourself and try it out in. There are instructions here:
https://github.com/WordPress/gutenberg/blob/master/docs/contributors/getting-started.md
It requires being a little bit adventurous, but it does allow you to test features the moment they land.
Alternately, the Gutenberg project does aim to release on a weekly cadence as far as is humanly possible, so with every new release you do get the latest and greatest simply by running the plugin.
Glad to hear you’re excited to test out!
Forum: Plugins
In reply to: [Gutenberg] Why doesn’t default block editor width = content widthHi @patbell101, I responded to something similar in https://wordpress.org/support/topic/suggestion-text-width-in-gutenberg-based-on-theme/.
You’ve clearly heard the message before: that the editor is as wide as the theme designs it to be. So I won’t repeat that.
> Why not just make the default editor width the same as the current content width.
Efforts to make the editor WYSIWYG have been underway for a while, and it’s quite the technical challenge. As things improve here, it’s very likely that fewer and fewer WordPress themes don’t style the editor at all, and it might even be possible to load the stylesheet of older themes directly into the editor.
May I ask: which WordPress theme are you running?
Forum: Plugins
In reply to: [Gutenberg] How do you grab and move the block?The mover control has been unified into the toolbar, so you hover the block type indicator and drag the mover control.
We’ve received a lot of feedback on this and will continue to listen and refine here!
Forum: Plugins
In reply to: [Gutenberg] Gutenberg 7.9Every once in a while, life gets in the way. In this case, I imagine focus was on releasing 5.4. Given world affairs doing both a plugin and a core release in late march seems impressive to me.
Stay tuned!
Forum: Plugins
In reply to: [Gutenberg] Suggestion: Text Width in Gutenberg Based on Theme> So itβs optin, rather than available for all?
Well it’s a little more nuanced than that. The block editor will eventually be able to edit your entire website in one view β header, sidebar, footer, all of it in one window. In that vein, we can’t easily rely on something like $content-width like the classic editor does. But instead the goal is to load the theme stylesheet _itself_ into the editor, eliminating the need for that variable in the first place.
This has been quite a technical challenge to get to, but it’s actually closer than one might think. For example, an iframe is one step that will help enable it to happen, which is being worked on in https://github.com/WordPress/gutenberg/pull/21102.
Full site editing and WYSIWYG is the priority for this year, so there’s wide agreement with your assessment! If you’d like to help, you can contribute, we’d love that! Some good places to start: https://github.com/WordPress/gutenberg/blob/master/CONTRIBUTING.md
More on customization: https://make.wordpress.org/core/2019/11/02/join-the-gutenberg-customization-conversations/
Forum: Plugins
In reply to: [Gutenberg] code editorHi @caban13!
The editor is that dimension so as to not be so different in dimensions from the default editor style which is loaded when a theme does not change the styles.
However as more and more themes style the editor, this limitation does not seem that helpful anymore. Feel free to open an issue in https://github.com/WordPress/gutenberg/issues where you describe how you’d like the code editor to look/behave. Keep in mind that on GIANT screens, you _could_ end up with a very very wide input field if it’s completely unconstrained. You can CC me in github if you like, I’m @jasmussen there.
Agreed, this isn’t working quite as smoothly as it should, but we’re working to improve that. In fact, an iframe is being explored: https://github.com/WordPress/gutenberg/issues/20797
In the mean time, the way to add an editor style to the editor without affecting the rest of the admin, is to load the editor style using the following function:
add_theme_support('editor-styles'); add_editor_style( 'style-editor.css' );From: https://developer.wordpress.org/block-editor/developers/themes/theme-support/#editor-styles
In using that CSS, it is limited to the editing canvas, and you don’t have to worry about styling the rest of the admin. If you just enqueue a CSS file, on the other hand, it will affect the admin.
Forum: Plugins
In reply to: [Gutenberg] Suggestion: Text Width in Gutenberg Based on ThemeHi @slkfsdf8y34ljhsfsdfkuhfkl84hj!
I agree WYSIWYG is the end-goal, and there are a number of efforts underway to make the editor look as much like the frontend as possible.
Already today, a theme can register an editor style that sets the dimensions of blocks in the editor to the same dimensions as you see on the frontend. You can see this in themes like TwentyNineteen, and they’re using this code to make that happen: https://developer.wordpress.org/block-editor/developers/themes/theme-support/#editor-styles
Hope that helps.

