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

fix(android): Fix editors mark is not inserted on insert text in android #4342

Merged
merged 3 commits into from
Aug 13, 2021

Conversation

imdbsd
Copy link
Contributor

@imdbsd imdbsd commented Jun 19, 2021

Description
Currently on rich text example, the mark is not inserted on the inserted text.
step to replicate:

  • toggle mark button
  • insert some text
  • text inserted without the mark
    expected: mark should be inserted with the text

Issue
#4405

Example
current example:

bug-mark

fix example:

fix

Checks

  • The new code matches the existing patterns and styles.
  • The tests pass with yarn test.
  • The linter passes with yarn lint. (Fix errors with yarn fix.)
  • The relevant examples still work. (Run examples with yarn start.)
  • You've added a changeset if changing functionality. (Add one with yarn changeset add.)

@changeset-bot
Copy link

changeset-bot bot commented Jun 19, 2021

🦋 Changeset detected

Latest commit: 8e37979

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
slate-react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@imdbsd imdbsd changed the title fix(android): Fix mark is not inputed on insert text in android fix(android): Fix editors mark is not inserted on insert text in android Jun 19, 2021
@imdbsd imdbsd force-pushed the fix-android-mark branch from 1067c7c to c1af13e Compare June 19, 2021 16:03
@imdbsd
Copy link
Contributor Author

imdbsd commented Jun 21, 2021

im testing it on the my android 9 devices and looks fine

@fathurhidayat3
Copy link

fathurhidayat3 commented Jul 6, 2021

issue confirmed on android and can be replicated with the same steps

Kapture.2021-07-06.at.10.46.36.mp4

Copy link
Collaborator

@dylans dylans left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks fine to me.

@imdbsd
Copy link
Contributor Author

imdbsd commented Aug 5, 2021

thanks for the review @dylans

@dylans dylans merged commit 834ce34 into ianstormtaylor:main Aug 13, 2021
@github-actions github-actions bot mentioned this pull request Aug 13, 2021
@dylans dylans mentioned this pull request Sep 11, 2021
dylans pushed a commit to dylans/slate that referenced this pull request Sep 13, 2021
…oid (ianstormtaylor#4342)

* fix(android): Fix mark is not inputed on insert text in android

* add changeset

* null mark only when mark exist

Co-authored-by: surya darma <[email protected]>
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.

3 participants