Skip to content

Commit 7953dff

Browse files
authored
Move emoticon replacement logic to withEmoji and fix undo stack (#4861)
* Add withEmoji * Add @ts-expect-error * Add ref * Remove placeholder * Clean up comment * Add key up/down * Update constant name * Export withEmoji * Add test * Fix key up * Support undo setValue * Add test case * First working version * Clean up * Remove moveCaret * Remove pre * Remove SelectionAndValue * Clean up * Rename tests * Fix test to run in WebDriver * Fix test * Fix paste * Add tests * Fix replace * Simplify and mark state as readonly * Simplify * Clean up * Add tests * Add tests * Delete old tests * Add entrypoints * Fix tests * Fix test * Add entry * Update tests * Fix tests * Support React 18 * Fix typing
1 parent 826765a commit 7953dff

File tree

105 files changed

+4134
-852
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+4134
-852
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2222

2323
## [Unreleased]
2424

25+
### Breaking changes
26+
27+
- `useTextBoxValue` setter will no longer replace emoticon with emoji, in PR [#4861](https://github.com/microsoft/BotFramework-WebChat/issues/pull/4861)
28+
2529
### Fixed
2630

31+
- Fixes [#4865](https://github.com/microsoft/BotFramework-WebChat/issues/4865). Fixed <kbd>CTRL</kbd> + <kbd>Z</kbd> should undo correctly, by [@compulim](https://github.com/compulim), in PR [#4861](https://github.com/microsoft/BotFramework-WebChat/issues/pull/4861)
2732
- Fixes [#4863](https://github.com/microsoft/BotFramework-WebChat/issues/4863). Disable dark theme for link references until chat history has dark theme support, by [@compulim](https://github.com/compulim), in PR [#4864](https://github.com/microsoft/BotFramework-WebChat/pull/4864)
2833

2934
### Added

__tests__/emoji.customEmojiSet.js

Lines changed: 0 additions & 100 deletions
This file was deleted.

0 commit comments

Comments
 (0)