Skip to content

element-hq/matrix-rich-text-editor

 
 

Repository files navigation

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 & License

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.

About

Matrix Rich Text Editor

Resources

License

AGPL-3.0, Unknown licenses found

Licenses found

AGPL-3.0
LICENSE
Unknown
LICENSE-COMMERCIAL

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Rust 48.3%
  • Kotlin 22.5%
  • Swift 15.6%
  • TypeScript 12.1%
  • JavaScript 0.6%
  • HTML 0.3%
  • Other 0.6%