-
Notifications
You must be signed in to change notification settings - Fork 164
Description
Please check that this issue hasn't been reported before.
- I searched previous Bug Reports and didn't find any similar reports.
Expected Behavior
Can copy the colour code in settings, when set to hex
Current behaviour
Hitting Ctrl+C on it does nothing. Pasting also doesn't work and always clears the input.
JavaScript console output
No response
Steps to reproduce
- Add a new calendar
- In the dialog, click the black colour pill
- Set it to HEX at the bottom
- Try copying the colour code - pasting it anywhere else reveals it doesn't copy anything.
- Try pasting a colour code from somewhere else - even pasting a well-formatted colour code just clears the input.
Also observe how typing a colour code works fine, so it's not like a readonly textbox or something.
Calendar information
Not applicable. Bug shows itself before (and after) the first calendar is created.
Which Operating Systems are you using?
- macOS
- Windows
- Linux
- Android
- iOS
Obsidian Version
1.8.10
Full Calendar Plugin Version
0.10.7
Checks
- I have tried it with all other plugins disabled and the error still occurs.
Possible solution
Usually you have to do something specific to disable copypaste. Probably the HEX input is limited to typing only specific characters, but copy/cut/paste are also a kind of "characters". Depends on the event used to catch them.
Also the rightclick menu is missing, where I'd expect the usual things - cut, copy, paste, select all. You know, the ones every textbox menu throughout the OS and every browser shows :)
Comments
Maybe this is an Obsidian bug, not sure if you're using a bog standard colour input, or something provided by Obsidian.