Alexander Prinzhorn
Alexander Prinzhorn
> how to do very basic keyword colouring & simple syntax checks (closed brackets / quotes, comments etc) https://microsoft.github.io/monaco-editor/monarch.html > This document describes how to create a syntax highlighter using...
Very similar to https://github.com/sveltejs/svelte/issues/7450 and https://github.com/sveltejs/svelte/issues/7563 (basically a duplicate I would say) ``` Array.from(document.querySelectorAll('a')).map(e => e.namespaceURI) 0: "http://www.w3.org/2000/svg"
> so the result is ``. I'm seeing different results https://svelte.dev/repl/24c972986f4b4023832df914cc694151?version=3.50.0  Or is this about SSR? Because I don't think special attributes like `value` go through the function you've...
This is somewhat related to https://github.com/sveltejs/svelte/issues/7454, it's an edge case where order matters. But in this case it's not browser specific.
https://github.com/sveltejs/svelte/blob/25a05bf952579423b31582ee085388ce0be140cb/src/shared/boolean_attributes.ts#L4 https://developer.mozilla.org/en-US/docs/Web/API/HTMLIFrameElement/allowPaymentRequest > I don't know where I stand on adding handling for non-standard attributes. If `allowpaymentrequest` (which is deprecated and not recommended) is in the list then `webkitdirectory` (which...
I see, I don't have any opinion either way then (other than adding it for Svelte 4)
https://github.com/sveltejs/svelte/search?q=contenteditable+html&type=issues https://github.com/sveltejs/svelte/issues/4978#issuecomment-641652213
TIL about those bindings, that's neat
https://github.com/sveltejs/rfcs/pull/41 What you describe is exactly what I want declarative actions to be. And Svelte should be able to compile them to the same declarative code that vanilla actions already...
https://github.com/sveltejs/svelte/issues/7480 `bind:this` cleans up after itself by setting the binding to `null`. You need to rethink your implementation. https://svelte.dev/repl/5a315d8a59004f1d8867f7fbb3646184?version=3.50.1