Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

japanese language support in wysiwyg renderer #1491

Open
wants to merge 1 commit into
base: next
Choose a base branch
from

Conversation

konikoni428
Copy link

@konikoni428 konikoni428 commented Apr 28, 2022

When I try to view information in the wysiwyg editor written in Japanese on the list of entries page, it only shows "...".
This is happend if it is more than 50 characters.

e.g.

"ここに文字列が入ります。ここに文字列が入ります。ここに文字列が入ります。ここに文字列が入ります。ここに文字列が入ります。”

expect

"ここに文字列が入ります。ここに文字列が入ります。ここに文字列が入ります。ここに文字列が入ります。ここに..."

real

"..."

The problem occurred because Japanese does not separate words with spaces.
So I changed it so that the last word is deleted only when there are three or more words separated by spaces.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant