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

browser example seems to be broken #259

Open
recursiveGecko opened this issue Apr 22, 2024 · 1 comment
Open

browser example seems to be broken #259

recursiveGecko opened this issue Apr 22, 2024 · 1 comment

Comments

@recursiveGecko
Copy link

recursiveGecko commented Apr 22, 2024

Hi, I'm interested in integrating Gutenberg into one of my projects and I tried to get a sense of how the integration would look like by running the example in src/browser/index.html.

However I noticed that styling in this example seems to be broken and various actions in the editor result in different Javascript errors being logged to console.

For example, if I load up an empty editor, click +, and add "Columns", the styles are missing and Javascript errors are logged to console:

image

If I then click on the row below the columns, the + button appears on the left side instead of the right, which I think is another styling error. I checked out a few older releases and found that 2.23.1 mostly looks and works the way I expect it to, but 2.24.0 seems to be the first release that was "broken" in this way.

Is any of this expected behaviour or did something go wrong with recent releases?

@kristianoye
Copy link

I am also experiencing this issue. I am trying to create a quick blog app for perspective employers, but there is very little documentation to help me out. I am using the pre-built JS library + React (Release 2.29.0) with my entry point being wp.attachEditor( , ). I can get the basic editor to work, but I really want to be able to integrate with web services to upload and manage media, etc.

I could not find any documentation on possible options, so I was looking at the source tree. Some of the declared options are never actually used in the library. Example: attachEditor takes a settings argument of type BlockEditorSettings. I dug a little deeper to find the definition:
image

I searched around a bit more to find hasUploadPermission does not do ANYTHING.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants