Closed dmandrade closed 1 year ago
I'm not sure that it will work if you put a quote in the copyable or the success notification title.
Shouldn't you escape them?
Maybe like this: 'x-on:click' => new HtmlString('window.navigator.clipboard.writeText('.json_encode($this->getCopyable()).'); $tooltip('.json_encode($this->getSuccessNotificationTitle()).');')
I returned the escape I had using Js::from() on pr #21
Thank you, I think it's safer.
Any problem you can open another issue or a pr
Remove custom xdata to prevent conflict with action tooltip
Resolve #14