Twig tag entry failure in CSS context

Hello, in the past few releases (and using the new UI), typing Twig tags have been broken in the CSS context. For example, in a .twig file, with the following code, typing the `#` symbol for a CSS color will make PhpStorm think it's creating Twig comment. Please see the attached video showing the annoying behavior.

<style>
  body { background-color: #
</style>

Upload id: 2023_09_26_E2rwoeEuJpotjgnypgq1mm (file: phpstorm twig css.mp4)

Please prevent this (new-ish) behavior. Thank you.

0

Thank you for reporting this one too! Extracted it as WI-74492.

0

请先登录再写评论。