Allow editor to remain open #24659
Replies: 4 comments 5 replies
-
I don't know about implementing this suggestion in the card editor, though if you open the Raw Configuration Editor in edit mode, you can repeatedly save dashboard yaml without exiting the editor. Maybe that would save you a few clicks? |
Beta Was this translation helpful? Give feedback.
This comment was marked as disruptive content.
This comment was marked as disruptive content.
This comment was marked as disruptive content.
This comment was marked as disruptive content.
-
Another possibility is to write your own editor, and save the configuration programmatically. I do something similar to this for my SpotifyPlus Card, where a user can create a Preset (shortcut) to a Spotify media item and it adds it to the UserPresets collection in the card configuration. The requirement is that the configuration must have a The key to making it work is the Hope it helps! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there,
I'm trying to set up a
picture-elements
card with image overlays (my car as the base, then adding elements like an open trunk, open doors, etc.).Positioning these overlays precisely using
top/left
(and sometimestransform: translate, scale
) is quite tricky. To fine-tune it, I work with two windows:When I save, the second window prompts for a refresh, which is great. However, the first window exits edit mode and returns to the Lovelace dashboard after saving.
This forces me to repeatedly go through
Edit
>Show code editor
> scroll back to my position, just to make small adjustments (tweaking values by 1 or 2 hundredths of a percent).Instead of exiting edit mode after saving, it would be much better if the "Save" button simply became a "Close" button after saving, allowing the editor to stay open and keep my current cursor position.
EDIT: Preview is not the way to go, here is my card in preview


And this is how it looks like in real size
Beta Was this translation helpful? Give feedback.
All reactions