Improve emoji blot and override clipboard behavior
This commit is contained in:
parent
d4d9688447
commit
91beef7797
10 changed files with 181 additions and 84 deletions
|
@ -11,6 +11,9 @@ import { RenderTextCallbackType } from '../../types/Util';
|
|||
import { emojiToImage, SizeClassType } from '../emoji/lib';
|
||||
|
||||
// Some of this logic taken from emoji-js/replacement
|
||||
// the DOM structure for this getImageTag should match the other emoji implementations:
|
||||
// ts/components/emoji/Emoji.tsx
|
||||
// ts/quill/emoji/blot.tsx
|
||||
function getImageTag({
|
||||
match,
|
||||
sizeClass,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue