This repository was archived by the owner on Sep 11, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 827
Improve switching between rich and plain editing modes #9776
Merged
Merged
Changes from 24 commits
Commits
Show all changes
64 commits
Select commit
Hold shift + click to select a range
4169059
use new conversion function when switching editor
3133541
use textContent not innerHTML
e7a6210
use new conversion functions both ways
34619b7
use innerText to maintain linebreaks
6739232
revert to use innerHTML
80e3d93
tidy up handler function, use renamed functions
382a5a0
update method due to signature change in imported function
452e788
make message conversion work
211ddc8
make sendMessage function await the async call
816768f
make tests use async/await
92fa9c5
add comment
ff376e0
use new functions in createMessageContent, remove old functions
c7b205c
remove unused util file
252eb79
make cmd and enter command work to send plain message
5c81f2e
make enter work as expected with cmd enter setting true
4c1d774
remove console log
5da0ad2
add some tests
8186890
add extra tests, comments
aa12d4e
remove uses of fireEvent
04a604d
tidy up code, make newlines work properly
410efef
add comment
614b9d2
add test, tidy up test names
b6f8437
update RTE dependency to 0.12.0
841b120
Merge branch 'develop' into alunturner/psu-780-message-content
8ba7e16
fix lint errors in test
5032fb5
fix type for jest spy
8609139
fix lint errors
66ed4be
fix strict errors in test file
88ae5ee
change to use dynamic import for conversion functions
d30a916
Merge remote-tracking branch 'origin/develop' into alunturner/psu-780…
79b2ff2
use dataset to remove type coercion
45126c0
dynamically import sendMessage due to it using wysiwyg lib functions
f5e5f99
fix three strict mode errors
7f6d514
fix all TS errors message.ts
e090162
Merge remote-tracking branch 'origin/develop' into alunturner/psu-780…
60bf211
edit 'hello world' strings to account for md in plain body
76bd5fd
fix failing test
6248abc
fix failing test
0dd6a79
add message test
a4253bf
add logic tests
fe5fe09
update wysiwyg to 0.13.0
56e363c
Merge remote-tracking branch 'origin/develop' into alunturner/psu-780…
401c9de
fix type error
f53e691
Merge branch 'develop' into alunturner/psu-780-message-content
04abc08
Merge branch 'develop' into alunturner/psu-780-message-content
d9eea32
export interface to allow typing in dynamic import
96f5226
add new dynamic import functions
c0a98c7
export new dynamically imported functions
140cde4
use dynamically imported functions
fc4a644
Merge branch 'develop' into alunturner/psu-780-message-content
eda2b3d
Merge remote-tracking branch 'origin/develop' into alunturner/psu-780…
36ed59d
Merge remote-tracking branch 'origin/develop' into alunturner/psu-780…
3be6180
Merge remote-tracking branch 'origin/develop' into alunturner/psu-780…
42a5709
Merge branch 'develop' into alunturner/psu-780-message-content
609a861
Merge branch 'develop' into alunturner/psu-780-message-content
9aa7a09
Merge branch 'develop' into alunturner/psu-780-message-content
fd8de61
Merge branch 'develop' into alunturner/psu-780-message-content
ae12817
Merge branch 'develop' into alunturner/psu-780-message-content
6fffe26
Merge branch 'develop' into alunturner/psu-780-message-content
8e8925e
Merge branch 'develop' into alunturner/psu-780-message-content
626a20a
Merge branch 'develop' into alunturner/psu-780-message-content
artcodespace 06394d2
Merge branch 'develop' into alunturner/psu-780-message-content
artcodespace f0e3541
Merge branch 'develop' into alunturner/psu-780-message-content
artcodespace c9d05d0
Merge branch 'develop' into alunturner/psu-780-message-content
artcodespace File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is this import safe to use here without creating a dependency on https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/FinalizationRegistry
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No you're right this is going to cause the same issue that was looked at this morning. I'm sorting out lint/TS errors then will sort this. They will become dynamic imports.