Merge branch 'pipipi-pikachu:master' into master

This commit is contained in:
missile-xuan 2021-07-16 15:58:40 +08:00 committed by GitHub
commit cb71058648
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -338,8 +338,7 @@ export default defineComponent({
const wordSpaceOptions = [0, 1, 2, 3, 4, 5, 6, 8, 10] const wordSpaceOptions = [0, 1, 2, 3, 4, 5, 6, 8, 10]
// //
const emitRichTextCommand = (payload: RichTextCommand) => { const emitRichTextCommand = (command: string, value?: string) => {
const { command, value } = payload
emitter.emit(EmitterEvents.RICH_TEXT_COMMAND, { command, value }) emitter.emit(EmitterEvents.RICH_TEXT_COMMAND, { command, value })
} }