Bogdan Chadkin a22f9fe900 feat: add html editor (#2717)
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">
2023-12-31 13:48:19 +07:00
2023-06-27 10:02:58 +03:00
2022-07-04 19:59:42 +02:00
2023-10-06 13:01:35 +04:00
2023-03-02 11:05:44 +01:00
2023-07-04 22:32:14 +03:00
2023-06-27 18:17:48 +03:00
2023-10-06 16:33:33 +04:00
2023-12-31 13:48:19 +07:00
2023-09-06 21:43:29 +03:00
2023-12-14 17:28:37 +02:00

builder-screenshot

Webstudio is an Open Source Visual Development Platform for developers, designers, and cross-functional teams. You own the data, components, and infrastructure. You can use the hosted version or roll out your own.


Learning Resources

Social Media

Contributing

Languages
TypeScript 98.9%
PLpgSQL 0.5%
CSS 0.3%
Shell 0.2%
JavaScript 0.1%