mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-11-09 14:03:33 +09:00
Ref https://github.com/webstudio-is/webstudio/issues/2359 https://github.com/webstudio-is/webstudio/issues/2388 Here added codemirror based html editor for html embed component. It supports basic autocomplete and highlights embedded css and js. Splitted basic codemirror setup into CodeEditor component everything else can be customized around it. <img width="245" alt="Screenshot 2023-12-27 at 15 30 57" src="https://github.com/webstudio-is/webstudio/assets/5635476/7bb7907a-0f5b-406b-8615-2029e6494839"> <img width="240" alt="Screenshot 2023-12-27 at 15 30 22" src="https://github.com/webstudio-is/webstudio/assets/5635476/bc826e52-0597-4998-a534-e7053f25fb26">