Squarelet/squarelet

add edit button in squares

Aperta

#12 aperta il 19 nov 2018

 (1 commento) (0 reazioni) (0 assegnatari)Vue (2 fork)auto 404
UIgood first issuehelp wanted

Metriche repository

Star
 (26 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

When I include an iframe embed to a square, it is only possible to edit this iframe when I click outside of its area. An "Edit"-Button (top right?) would make it much easier to edit existing content.

try with this iframe: <iframe src="https://h5p.org/h5p/embed/362759" width="800" height="800" frameborder="0" allowfullscreen="allowfullscreen"></iframe><script src="https://h5p.org/sites/all/modules/h5p/library/js/h5p-resizer.js" charset="UTF-8"></script>

Editing would start when either double-clicking an existing square or clicking once on it (=buttons appear) and then clicking the edit button.

Example: bildschirmfoto 2018-11-20 um 12 20 01

Guida contributor