Open MAX-786 opened 3 months ago
Just noticed quanta doesn't make it clear how to remove a link. Clicking link button would have to edit an existing link not remove it. Maybe you are supposed to remove the text of the link and confirm?
Seperate issue but The confirm arrow in volto and quanta I don't like. It's easy to forgot to click it and then your changes aren't saved.
@MAX-786 I can't get it to work.
TypeError: Cannot read properties of null (reading 'outerHTML') at HTMLButtonElement.<anonymous> (hydra.js:506:58)
Entering a url has an exception. TypeError: Cannot read properties of null (reading 'outerHTML') at HTMLButtonElement.
(hydra.js:506:58)
I wasn't able to reproduce this error, can you provide any steps or anything but ig we can work on these now on later terms ...
@MAX-786 I got it to work once. and other times I got that exception. I couldn't isolate a difference it steps but is is an example
Slightly different problem is that you can select a new block and a word at the same time by double clicking a word but that then loses the word selection so formatting it doesn't work.
This is one could be a little tricky because ideally you would want the link input to be done by the admin UI so as to keep the UI code as simple as possible in hydra.js so it's less likely to interfer with the frontend js/css.
Quanta specifies it should appear overtop of where the quanta bar was however.
As discussed in the meeting probably the way it will work is