Skip to content
Snippets Groups Projects
user avatar
sam edelsten authored
* use editor buffer for infinite line

need to get my numbers right but the implementation is doing at least
something again

* working infiniteline (when mode != center)

* add minimum padding, fixing centered infiniteline

* user editable min padding on center infiniteline
1c4fef0f

bevy_cosmic_edit

This bevy plugin provides multiline text editing for bevy apps, thanks to cosmic_text crate!

Emoji, ligatures, and other fancy stuff is supported!

bevy_cosmic_edit

Usage

⚠️ Warning: This plugin is currently in early development, and its API is subject to change.

Explore examples folder for basic usage.

Native:

cargo r --example font_per_widget

Wasm:

cargo install wasm-server-runner
RUSTFLAGS=--cfg=web_sys_unstable_apis cargo r --target wasm32-unknown-unknown --example basic_ui

Compatibility

bevy bevy_cosmic_edit
0.13.0 0.16 - latest
0.12.* 0.15
0.11.* 0.8 - 0.14

License

MIT or Apache-2.0