diff --git a/package.json b/package.json index 65ed64cda..52b3d3cd6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "trix", - "version": "2.1.5", + "version": "2.1.6", "description": "A rich text editor for everyday writing", "main": "dist/trix.umd.min.js", "module": "dist/trix.esm.min.js", diff --git a/src/trix/controllers/level_2_input_controller.js b/src/trix/controllers/level_2_input_controller.js index dc4bf7dc9..65b302157 100644 --- a/src/trix/controllers/level_2_input_controller.js +++ b/src/trix/controllers/level_2_input_controller.js @@ -73,6 +73,11 @@ export default class Level2InputController extends InputController { beforeinput(event) { const handler = this.constructor.inputTypes[event.inputType] + // Handles bug with Siri dictation on iOS 18+. + if (!event.inputType) { + this.render() + } + if (handler) { this.withEvent(event, handler) this.scheduleRender()