1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-07-28 15:22:05 +03:00

Initial attempt to make toggleInlineFormat paragraph-aware

This commit is contained in:
Michael Telatynski
2020-01-21 15:32:32 +00:00
parent adec308529
commit b2aba6db35
5 changed files with 221 additions and 27 deletions

View File

@ -15,17 +15,7 @@ limitations under the License.
*/
import EditorModel from "../../src/editor/model";
import {createPartCreator} from "./mock";
function createRenderer() {
const render = (c) => {
render.caret = c;
render.count += 1;
};
render.count = 0;
render.caret = null;
return render;
}
import {createPartCreator, createRenderer} from "./mock";
const pillChannel = "#riot-dev:matrix.org";