Skip to main content
Iogui's user avatar
Iogui's user avatar
Iogui's user avatar
Iogui
  • Member for 3 years, 1 month
  • Last seen more than a week ago
  • Brasil
comment
what use have double styles in index.html?
@rhavin As a side note, if you are going to discard all the benefits of the new architecture of the WordPress then why to use it at all? That are other CMS you can use. Have you tried Joomla or Drupal?
comment
what use have double styles in index.html?
That's up to you, @rhavin. If you are willing to give up the added benefits of the blocks and if working the classic way cover all your needs, then I see no problem. I prefer to be able to use the FSE features.
awarded
comment
Why does the "visual editor" add useless html-comments and how can I get rid of them?
If you want to get rid of then, don't use WordPress. Try another CRM. Those tags that you want to get rid of, are the core of the block system of WordPress as I have already pointed on your other question.
Loading…
Loading…
comment
what use have double styles in index.html?
@rhavin data-* and <!-- wp: serves a really different purpose. You can have <!-- wp: that does not directly translate do html/styles and you also have the problem of the diference between dynamic and static rendering. You should probably take some time to read all the shared docs and also make some tests with the editor to get a better grasp of it.
Loading…
Loading…
Loading…
Loading…
awarded
awarded
comment
Trying to turn the Edit function into a class to be able to use React lifecycle methods
@TomJNowell my Edit was not an answer for the original question. It was just done because you've asked me to do it. But after editing I made more tests and I find out that my functional code was already working. Either way to let it clear for future visitors, I've answered my own questions in a proper final answer.
Loading…
comment
Trying to turn the Edit function into a class to be able to use React lifecycle methods
No, I'm saying that there was no problem at all. I've probably made some mistake while testing my solution.
comment
Trying to turn the Edit function into a class to be able to use React lifecycle methods
@TomJNowell It tuned out that my code is working good as it is. I don't know why I was having problem before.
awarded