googlefonts / fontra

A browser-based font editor

Home Page:https://fontra.xyz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

canCut() and canDelete() should check for read-only mode

justvanrossum opened this issue · comments

Especially for "select-mode", I think edit-mode might be covered (but it's worth checking).

No real damage can be done as FontHandler will still stop such edits (if I remember correctly...), but currently the UI makes it look like we can cut or delete. Reloading will reveal the cut/delete didn't really take place.

Related to #1321. Feel free to fix is as part of that PR while you're at it.