Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Add support for letter and number class unicode characters. #71

Merged
merged 9 commits into from
Jun 28, 2019
Merged

Conversation

jodator
Copy link
Contributor

@jodator jodator commented May 22, 2019

Suggested merge commit message (convention)

Other: Add support for other languages. Closes ckeditor/ckeditor5#4642.


Additional information

  • This PR is intended for next iteration but could be merge in current (24).
  • I've slightly updated the RegExp used to match mention by making first group non-capturing (this part was not used anywhere)
  • I've renamed the featureDetection.isPunctuationGroupSupported to isUnicodeGroupSupported as this is one feature and testing for 3-4 different groups (punctuation, number, letter) doesn't make sense as I don't see implemented one without the others.
  • There's only one new test for typing with Hebrew letter as I'm not sure if adding more characters will help with anything.

@jodator jodator requested a review from mlewand May 22, 2019 12:39
@jodator jodator requested review from oleq and removed request for mlewand June 25, 2019 13:11
src/mentionui.js Show resolved Hide resolved
tests/mentionui.js Outdated Show resolved Hide resolved
@jodator jodator requested a review from oleq June 27, 2019 12:29
@jodator
Copy link
Contributor Author

jodator commented Jun 27, 2019

@oleq The confusing test is fixed now.

@oleq oleq merged commit 764f099 into master Jun 28, 2019
@oleq oleq deleted the t/38 branch June 28, 2019 13:46
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Mention does not work with some languages (Hebrew)
2 participants