David Dal Busco
David Dal Busco
Sure. I just commented here because #4432 was closed and linked with the issue. So here you go 👉 https://github.com/sveltejs/kit/issues/7415
Not sure how to solve this. When user focus the input field, the selection is applied to the input. Therefore the text is not displayed as selected anymore unless the...
> https://jsfiddle.net/cp6L291g/135/ Unfortunately this isn't a valid solution for Stylo. This gist copy the selection and modify the DOM when the user is typing within the input field to give...
@jogibear9988 do you have an example? just tested it, it seems the overlay was repositioned (see screenshots)
Thanks for the feedback but please do not provide two or more issues/feature requests within the same report. Beside that, can you provide sample repo and/or screencast to reproduce the...
Thanks for the explanation. It looks like it happens because the content editable becomes empty or contains only a ``. We can probably solves this by preventing the deletion of...
I think `import '@papyrs/stylo'` won't work with vite. On the contrary, if I reckon correctly, using the custom elements will - should. ``` import { defineCustomElements } from '@papyrs/stylo/dist/loader'; defineCustomElements();...
I needed a coffee, I think it works as following: ``` import { defineCustomElements } from '@papyrs/stylo/dist/components/stylo-editor'; defineCustomElements(); ``` However doing so it won't work without installing in addition `@stencil/core`...
In a svelteki app I wasn't able to load the component as displayed above. As a workaround, I did as following: ``` onMount(async () => { const {defineCustomElement} = await...
Another tricks, if you are looking to import plugins, these can be imported as following: ``` import {h1, h2, h3, ul} from '@papyrs/stylo/dist/stylo/index.esm'; ```