When the cursor is in the opening tag or closing tag (when both opening and closing tag are highlighted green), the collapse triangle won't fold the code. However the triangle works again when the opening/closing tags are not selected.
In figure below: The collapse triangle will not fold the style element. However when the cursor is moved elsewhere so that <style> is not selected (not highlighted green), the triangle works.
When the cursor is in the opening tag or closing tag (when both opening and closing tag are highlighted green), the collapse triangle won't fold the code. However the triangle works again when the opening/closing tags are not selected.
In figure below: The collapse triangle will not fold the
style
element. However when the cursor is moved elsewhere so that<style>
is not selected (not highlighted green), the triangle works.