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

Block audit: Custom HTML #8435

Closed
10 tasks
sarahmonster opened this issue Aug 3, 2018 · 3 comments
Closed
10 tasks

Block audit: Custom HTML #8435

sarahmonster opened this issue Aug 3, 2018 · 3 comments
Labels
[Feature] Blocks Overall functionality of blocks [Type] Task Issues or PRs that have been broken down into an individual action to take

Comments

@sarahmonster
Copy link
Member

sarahmonster commented Aug 3, 2018

Note: We'll be doing these audits in waves and editing this as we work through the blocks, so this text will be updated and fleshed out as we progress. See the full picture here.

Overview

screenshot 2018-08-03 01 14 42

Name: Custom HTML
Description: Add your own HTML (and view it right here as you edit!).
Category: Formatting
CSS class: none that I could tell?
Can be converted to: nothing

States

Empty:
screenshot 2018-08-03 01 22 24

Selected:

Unselected:

Placeholder:
screenshot 2018-08-03 01 19 13

Primary (toolbar) settings

HTML and Preview tabs (no settings)

Secondary (sidebar) settings

none

Frontend appearance

I'm omitting front end screenshots: Since this block outputs its content directly into entry-content — with no wrapper element — it defaults to the theme's standard styles entirely.

Bugs/errors

Individual issues will be opened for these soon

Suggestions

Individual issues will be opened for these soon

@ZebulanStanphill
Copy link
Member

No devdocs in https://github.com/WordPress/gutenberg/tree/master/core-blocks/verse

Typo there.

This block doesn't use any container div at all when output to frontend, meaning formatting can get weird. (See Gutenberg starter theme.)

Not using a container <div> is probably desirable behavior, though, is it not?

Preview mode should potentially use Gutenberg typeface, rather than falling back to Times.

Well, technically it should use the typeface that the theme styles Gutenberg to use... or is that what you mean by "Gutenberg typeface"?

The styling here is suffering from the same double-box syndrome as the code block, although it's definitely less pronounced. Considering the design of this alongside the code block may be sensible, since they feel quite different.

I am starting to wonder if the block border should go back to being the actual size of the block. Simultaneously, I think the drag areas around the borders and automatic margins should be removed from blocks. Together, this would all make the double-border thing a non-issue, since the hover/selected border would just overlap the other one. See also:

Should this be convertible to and from a code block?

I guess that could be handy for when you accidentally chose one but meant to use the other.

@designsimply designsimply added [Type] Task Issues or PRs that have been broken down into an individual action to take [Feature] Blocks Overall functionality of blocks labels Aug 4, 2018
@talldan
Copy link
Contributor

talldan commented Jan 2, 2019

I've created #13158 which seems related to the issue mentioned here:

Refreshing the page yields a "this block has been modified externally" message which is a little confusing.

@kjellr
Copy link
Contributor

kjellr commented Feb 18, 2019

I just went through and filed issues (or just made inline notes) for the remaining items in this ticket. I'm going to close this ticket in favor of the smaller issues. 👍

@kjellr kjellr closed this as completed Feb 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Blocks Overall functionality of blocks [Type] Task Issues or PRs that have been broken down into an individual action to take
Projects
None yet
Development

No branches or pull requests

5 participants