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

Add wp-text directive #173

Merged
merged 3 commits into from
Mar 9, 2023
Merged

Conversation

SantosGuillamot
Copy link
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
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.

Copy link
Member

@luisherranz luisherranz left a comment

Choose a reason for hiding this comment

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

Perfect! Thanks, Mario 🚀

e2e/html/directives-text.html Outdated Show resolved Hide resolved
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