Matrix Rich Text Editor
  • Rust 49.2%
  • Kotlin 22.9%
  • Swift 14.7%
  • TypeScript 11.6%
  • JavaScript 0.7%
  • Other 0.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-09-02 10:36:03 +02:00
.cargo Update uniffi version to 0.24.1 (#745) 2023-07-26 10:17:11 +02:00
.github Use generateReleaseKotlinBindings in the publishing job 2026-08-11 12:11:45 +02:00
bindings Version 2.42.1 (#151) 2026-09-02 10:11:22 +02:00
crates Version 2.42.1 (#151) 2026-09-02 10:11:22 +02:00
platforms Try fixing Android publishing 2026-09-02 10:36:03 +02:00
uniffi-bindgen Update uniffi version to 0.24.1 (#745) 2023-07-26 10:17:11 +02:00
.gitignore update build settings, min deployment versions, swift version, concurrency support and CI tools. 2026-06-09 18:27:36 +02:00
.slather.yml Exclude tests directory from coverage reporting and make HTMLParserTests testable 2023-05-08 11:19:32 +01:00
build_xcframework.sh Fix iOS bindings generation for updated uniffi 2026-06-10 16:19:21 +02:00
Cargo.lock Version 2.42.1 (#151) 2026-09-02 10:11:22 +02:00
Cargo.toml Update Rust 2026-04-01 20:08:40 +00:00
CHANGELOG.md Version 2.42.0 2026-06-10 21:04:35 +02:00
LICENSE AGPL licence 2024-09-25 16:05:27 +02:00
LICENSE-COMMERCIAL Add dual licensing to the project (#44) 2025-01-20 10:41:16 +01:00
Makefile Fix whitespaces used in Makefile 2026-08-11 12:11:45 +02:00
README.md update copyright 2025-12-17 13:05:45 +01:00
RELEASE.md matrix-org -> element-hq 2024-09-25 17:39:11 +02:00
rust-toolchain.toml Fix build after dependency updates 2026-06-10 15:40:57 +02:00
rustfmt.toml First draft of the real interface for ComposerModel 2022-07-13 11:34:35 +01:00
sonar-project.properties Update sonar properties 2024-10-03 17:23:47 +02:00
update_version.sh Add dual licensing to the project (#44) 2025-01-20 10:41:16 +01:00

Matrix Rich Text Editor

codecov GitHub

A cross-platform rich text editor intended for use in Matrix clients including the Element clients.

Works on Web, Android and iOS using a cross-platform core written in Rust, and platform-specific wrappers.

Important note: This project is still in an early stage. Minor versions could bring breaking API changes, see CHANGELOG.md for details. Bugs and crashes may occur, please report them here.

Live demo

Try it out at element-hq.github.io/matrix-rich-text-editor.

Building the code

Get the prerequisites for each platform by reading the READMEs for them:

Now, to build all the bindings, try:

make

To build for a single platform, or to learn more, see the individual README files above.

Release the code

See RELEASE.md.

More info

For more detailed explanations and examples of platform-specific code to use Rust bindings like those generated here, see Building cross-platform Rust for Web, Android and iOS – a minimal example.

See also

  • The Browser Selections Inventory
    • used while writing tests, to persuade the browser to select text in the same way as if it had been done manually.

Copyright (c) 2025 Element Creations Ltd.

Copyright (c) 2022-2024 The Matrix.org Foundation C.I.C.

Copyright (c) 2024-2025 New Vector Ltd

This software is multi licensed by New Vector Ltd (Element). It can be used either:

(1) for free under the terms of the GNU Affero General Public License (as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version); OR

(2) under the terms of a paid-for Element Commercial License agreement between you and Element (the terms of which may vary depending on what you and Element have agreed to). Unless required by applicable law or agreed to in writing, software distributed under the Licenses is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the Licenses for the specific language governing permissions and limitations under the Licenses.