1
0
mirror of https://github.com/flarum/core.git synced 2025-10-10 22:44:25 +02:00
Files
php-flarum/extensions/markdown
Alexander Skvortsov 09b14b980a Attach oninput, inputListeners, onsubmit via mdarea extension
Recent versions of mdarea are quite powerful, and have internal state data structures. As a result, updating current editor value via `oninput` event listeners isn't reliable. Instead, we can use the mdarea extension API to handle keypresses exactly when markdownarea wants us to.

This also removes the `super` call from `build`, and directly creates/configures the applicable DOM elements. Since the mdarea editor driver's initialization is already quite different from BasicEditorDriver, it should fully own this step.
2021-02-27 16:05:25 -05:00
..
2020-04-24 22:10:36 +02:00
2015-09-17 09:09:47 +09:30
2015-10-11 16:35:01 +10:30
2016-11-16 15:46:18 +10:30
2015-10-11 16:35:01 +10:30
2019-12-04 21:17:33 +01:00