TopShelfCraft / Wordsmith

A plugin for Craft CMS to help you manage and manipulate text.
Other
30 stars 20 forks source link

Undefined constant TopShelfCraft\Wordsmith\libs\Emoji::KEYCAP #55

Closed mattbloomfield closed 10 months ago

mattbloomfield commented 10 months ago

I'm trying to upgrade a site to Craft4 and apparently it's using Wordsmith's emojify filter. I don't know much about it, but this is the template use:

<div class="moderator__content">
            <h4>{{ entry.mainHeading|raw }} {{ entry.emoji|emojify }}</h4>
            <p>{{ entry.description }}</p>
            <br><br>
</div>

I'm on Craft Pro 4.5.11 using Wordsmith 4.2.0

Here is the error I'm getting:

image

BenParizek commented 10 months ago

Some additional info in this duplicate, ticket which I just closed.

https://github.com/TopShelfCraft/Wordsmith/issues/56

michaelrog commented 10 months ago

Fixed in dd220fe, released in 4.3.0.

mattbloomfield commented 10 months ago

Thanks Mike!