emojioneify the composer
and also fix up the selectedness CSS for pills and emoji
This commit is contained in:
parent
b10f9a9cb7
commit
c1000a7cd5
6 changed files with 88 additions and 98 deletions
|
@ -61,6 +61,9 @@ class PlainWithPillsSerializer {
|
|||
(node.object == 'block' && Block.isBlockList(node.nodes))
|
||||
) {
|
||||
return node.nodes.map(this._serializeNode).join('\n');
|
||||
}
|
||||
else if (node.type == 'emoji') {
|
||||
return node.data.get('emojiUnicode');
|
||||
} else if (node.type == 'pill') {
|
||||
switch (this.pillFormat) {
|
||||
case 'plain':
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue