Opened 3 years ago
Last modified 3 years ago
#53805 new enhancement
Widget HTML Personalized no have Title
Reported by: | Guillermo77 | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | normal | Version: | 5.8 |
Component: | Widgets | Keywords: | reporter-feedback |
Focuses: | Cc: |
Description
The widget HTML Personalized no have one title, we can left the title blank but we need one title if we want use it, like: Note or Publicity etc.
The old HTML personalized has the title...
I don't no if are another widgets who need title, I no check all
I hope can fix it, also is one little slow the section widgets.
I like quit the previsualization, for load more faster.
Change History (13)
#2
follow-up:
↓ 4
@
3 years ago
- Component changed from Widgets to General
#3
@
3 years ago
Another problem:
I dont no why add the <p> automatic in the html widget if you put one new line (enter)
<p> code
code</p>
That is one error, I just want one new line or new lines for separate the content
I don't no if are one protocol for use # in new line, but I no like the <p>
And I hope put one title to the widget!
Thanks for the fast answer!
#4
in reply to:
↑ 2
@
3 years ago
Replying to ravipatel:
@Guillermo77
you can use this plugin for a speed widget issue also easy to use old layout of widgets.
https://wordpress.org/plugins/classic-widgets/
Just for say thank you!
I no will use it at this moment, but is one good recommendation.
#5
@
3 years ago
Wow another problem I put my code from publicity and add me <br> in the end of all the lines...
I hope the team solve this...
#8
@
3 years ago
Hi there @Guillermo77 and thanks for creating the ticket.
#53778 is an older ticket about the unexpected <p>
and <br>
tags in the HTML block. Please look there for the incoming solution.
Upstream in the Gutenberg repository there is an issue about adding a title attribute to blocks and some implementation options are explored.
For now you can use a paragraph block or a heading block before in place of a title. To prevent floating issues you can group the heading and the block and they'll behave as a single "widget".
#9
@
3 years ago
Thanks to you @andraganescu and @SergeyBiryukov
Happy to colabore to make WordPress better, I hope the developer team can find one solution.
About the HTML if you no close one <div>, maybe the system can alert to you and change the color of the section, but this is responsibility of the user.
The new lines in my case is for separate the code, and in other case is the publicity code format, (copy paste),
I text in preview, I no save the post, In the html block of gutenberg no add the <br> just in the last line add me one <p></p>
About the title, is important, if you no like just left it blank
#10
@
3 years ago
@andraganescu
Re: "For now you can use a paragraph block or a heading block before in place of a title."
If you add another block and when using e.g. theme Twenty Twenty, you get an additional line and margin between the two blocks:
With each block in it's own <section>
other themes will most likely render the two blocks as separate sidebar items, which looks somewhat odd. Adding a paragraph or title seems to be a unsatisfying workaround to me.
#11
@
3 years ago
Hi @pixolin :) Indeed blocks that output heading markup do not get styled well by the existing themes of today. They're missing the classes and exact markup that themes control so we get those visual glitches when building sidebars with blocks.
As a good news there is some intense work happening upstream in the Gutenberg repository to offer a solid solution that behaves as expected 100% of the time. I will be either one of having a new title attribute added to blocks in widget areas, a new pattern or a new wrapper-like block. In the end the result should be that one can place any block with a title in their widget area and have it render as expected.
@Guillermo77
you can use this plugin for a speed widget issue, you easy to use old layout of widget.
https://wordpress.org/plugins/classic-widgets/