config-editor-card icon indicating copy to clipboard operation
config-editor-card copied to clipboard

Page Up/Down and Find text no longer work in editor

Open yuejon opened this issue 5 months ago • 7 comments

The editor no longer pages up or down when I press the respective button on the keyboard. The find text (Ctrl-F) function also no longer goes to the highlighted text, which makes finding specific text to edit hard. This seemed to stop working with HA Core 2024.4.0 onwards.

Weirdly enough if you edit the yaml with the built-in editor on a lovelace dashboard, all this seems to work just fine.

yuejon avatar May 30 '25 20:05 yuejon

tried on 2025.5.0 and all seems to be working fine on chrome disable browser addons to check if that is a problem

junkfix avatar May 30 '25 20:05 junkfix

Interesting. I tried it on both Chrome and Edge (Chromium) and had the same results. Same issue on my desktop and laptop. I'll check if I have any conflicting dashboard integrations.

yuejon avatar May 30 '25 20:05 yuejon

Interesting. I tried it on both Chrome and Edge (Chromium) and had the same results. Same issue on my desktop and laptop. I'll check if I have any conflicting dashboard integrations.

you may have older version conflict https://github.com/junkfix/config-editor-card/issues/67

junkfix avatar May 30 '25 21:05 junkfix

I've checked and I am on 5.0.0. I tried downgrading to see if it would fix the issue, but I got the "Missing 'config_editor:' in configuration.yaml" error instead.

I've tried deactivating some dashboard integrations but haven't found one that could be causing the issue. The weird thing is if I edit a dashboard in raw yaml, it uses the same editor and I am able to find and page up/down with that.

yuejon avatar Jun 04 '25 19:06 yuejon

Anything in the browser console? (F12 or right click and inspect)

junkfix avatar Jun 04 '25 21:06 junkfix

Same issue for me - using Edge. In console: Config Editor 5.0.0 CONFIG-TEMPLATE-CARD Version 1.3.6 config-template-card.js?hacstag=172177543136:329 The main 'lit-element' module entrypoint is deprecated. Please update your imports to use the 'lit' package: 'lit' and 'lit/decorators.ts' or import from 'lit-element/lit-element.ts'. See https://lit.dev/msg/deprecated-import-path for more information.

pezzy-o avatar Jul 18 '25 23:07 pezzy-o

I have noticed that with the new fullscreen mode the find and page up/down seem to work for me again. Still no idea why it doesn't work without it as I do not see any problems in the browser console.

yuejon avatar Aug 04 '25 14:08 yuejon