Skip to content
This repository was archived by the owner on Jul 28, 2023. It is now read-only.

Add wp-text directive#173

Merged
SantosGuillamot merged 3 commits into
main-wp-directives-pluginfrom
wp-text-directive
Mar 9, 2023
Merged

Add wp-text directive#173
SantosGuillamot merged 3 commits into
main-wp-directives-pluginfrom
wp-text-directive

Conversation

@SantosGuillamot

Copy link
Copy Markdown
Contributor

The goal of this pull request is to add the logic for the wp-text directive. It doesn't aim to cover the SSR as, if I am not mistaken, that would be handled in this other PR.

While implementing it I wondered: Should it be possible to use more than one wp-text attribute in the same tag? If so, what would it happen? Would they join somehow or they are replaced? I can move this to another discussion if you believe that's more appropriate.

@luisherranz

Copy link
Copy Markdown
Member

Should it be possible to use more than one wp-text attribute in the same tag?

I would not introduce more complexity for which we don't even know what use cases it would cover.

@luisherranz luisherranz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect! Thanks, Mario 🚀

Comment thread e2e/html/directives-text.html Outdated
Co-authored-by: Luis Herranz <luisherranz@gmail.com>
@SantosGuillamot SantosGuillamot merged commit bbc8df3 into main-wp-directives-plugin Mar 9, 2023
@SantosGuillamot SantosGuillamot deleted the wp-text-directive branch March 9, 2023 11:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants