ji-devs / ji-devs/ji-cloud

In Firefox, the bounding box in Content tab of an activity doesn't match text size when Hebrew characters are present

Open
#2,527 2 comments 0 reactions 1 assignee View on GitHub

Nobody has claimed this yet.

bug Text WYSIWYG - Text stickers
Dominant language
Rust
Stars
14
Forks
18
PR merge metrics
No merged PRs in 30d

Description

Describe the bug

When adding text content to any activity which allows freeform content, if the text contains Hebrew characters, the bounding box size is miscalculated.

This also causes the text to not be positioned in the center, instead its centered on text which is not Hebrew characters.

To Reproduce

Steps to reproduce the behavior:

  1. Using Firefox, Create a JIG
  2. Add a module which allows text content to be added, like Listen and Learn
  3. On the Content tab, click "Insert textbox"
  4. Note that with the default text "Shalom שָׁלוֹם", the bounding box is as wide as "Shalom" and the height is for 2 lines.

Expected behavior

Bounding box should match the content.

Screenshots

image

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.