Skip to content

v0.2.0 — Monaco Editor support

Latest

Choose a tag to compare

@devin-ai-integration devin-ai-integration released this 11 Sep 22:50
11d9230

Features

  • Support for the Monaco Editor plugin: when it replaces a textarea the session binds to the Monaco model (local edits, remote edits applied as model edits, remote carets and selections as decorations, read-only lock after a shared comment is posted). Users on Monaco and on the plain textarea co-edit the same text. Undo/redo in Monaco (shortcuts, command palette, API) go through a Yjs UndoManager, so they only revert the user's own edits and never the other users' text.

Install / upgrade

cd /path/to/redmine/plugins
git clone https://github.com/jperelli/redmine_realtime_editor.git   # or: cd redmine_realtime_editor && git checkout v0.2.0
cd .. && bundle exec rake redmine:plugins:migrate RAILS_ENV=production

then restart Redmine. Full changelog: https://github.com/jperelli/redmine_realtime_editor/blob/main/CHANGELOG.md