BeaconCMS / BeaconCMS/beacon_live_admin

Preserve code editor settings

Open
#231 0 comments 0 reactions 0 assignees View on GitHub
area:content-ux enhancement roadmap ux
Dominant language
JavaScript
Stars
73
Forks
35
PR merge metrics
No merged PRs in 30d

Description

We should preserve any change users make on the [code editor](https://github.com/BeaconCMS/live_monaco_editor) and restore it on the next mount. For example if someone enables "word wrapping" then next time the editor is mounted it should preserve that option.

We can store such settings on the client side only, no need to preserve globally for example if the users open the code editor in another browser.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reading the code editor integration linked in the issue and identify where editor options are applied during mounting. Verify the behavior by enabling word wrapping, unmounting and remounting the editor, and confirming that the setting is restored from client-side storage without affecting another browser.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.