This PR updates CP CSS to use Code Editor rather than Twigfield (which has been deprecated). Code Editor is a general-purpose code editor that also does Twig & autocomplete.
Code Editor also has been refactored to TypeScript, supports light/dark themes, and has a tweaked/improved API.
This PR is for the Craft 4 version of CP CSS
This PR updates CP CSS to use Code Editor rather than Twigfield (which has been deprecated). Code Editor is a general-purpose code editor that also does Twig & autocomplete.
Code Editor also has been refactored to TypeScript, supports light/dark themes, and has a tweaked/improved API.
https://user-images.githubusercontent.com/7570798/199333838-c7716d0a-30d5-420d-abd8-39bfedc3da67.mov