https://github.com/Dimchikkk/bevy_cosmic_edit
https://github.com/Dimchikkk/bevy_cosmic_edit
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/Dimchikkk/bevy_cosmic_edit
- Owner: Dimchikkk
- License: apache-2.0
- Created: 2023-07-09T19:08:45.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-04T16:42:58.000Z (2 months ago)
- Last Synced: 2025-02-21T13:11:09.600Z (about 2 months ago)
- Language: Rust
- Size: 939 KB
- Stars: 100
- Watchers: 5
- Forks: 10
- Open Issues: 10
-
Metadata Files:
- Readme: readme.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
Awesome Lists containing this project
- awesome-bevy - `bevy_cosmic_edit`
- awesome-bevy - `bevy_cosmic_edit`
README
# bevy_cosmic_edit
This bevy plugin provides multiline text editing for bevy apps, thanks to [cosmic_text](https://github.com/pop-os/cosmic-text) crate!
Emoji, ligatures, and other fancy stuff is supported!

## Usage
⚠️ *Warning: This plugin is currently in early development, and its API is subject to change.*
Explore examples folder for basic usage.
Native:
```rust
cargo r --example font_per_widget
```Wasm:
```rust
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.15.0 | 0.26 - latest |
| 0.14.0 | 0.21 - 0.25 |
| 0.13.0 | 0.16 - 0.20 |
| 0.12.* | 0.15 |
| 0.11.* | 0.8 - 0.14 |## License
MIT or Apache-2.0