luwes / luwes/craft-codemirror

Emoji characters are not allowed

Open
#16 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

help wanted
Dominant language
JavaScript
Stars
17
Forks
10
PR merge metrics
No merged PRs in 30d

Description

I have a client who was using this field and tried to embed a tweet that contained a 📣 emoji.
Upon saving the entry I get a `Code Embed cannot contain emoji.` error (Code Embed is the name of the field).

I'm looking at other/better options for embedding tweets but is there some way that this field could be updated with emoji support?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the save failure in the Code Embed field with content containing the 📣 emoji, then trace where the entry is rejected. Done means emoji-containing tweet embed content can be saved without the “Code Embed cannot contain emoji” error, with coverage added if the project has tests for this field.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
backend, content
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.