Skip to content

japanese language support in wysiwyg renderer#1491

Open
konikoni428 wants to merge 1 commit intoagentejo:nextfrom
konikoni428:next
Open

japanese language support in wysiwyg renderer#1491
konikoni428 wants to merge 1 commit intoagentejo:nextfrom
konikoni428:next

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.

1 participant