This PR adds quickfix support for the css within <style>. The approach is similar to the styled plugin, but instead of running doValidation on the entire document, it uses the getEmbeddedDocument('css') to only return the CSS portion so that the validation doesn't run on html tags and report incorrectly.
I've added three additional tests to validate the new behavior. The gif below is representative, though I did change the diagnostic source name to pluginName as opposed to the :fire: emoji. :-)
This PR adds quickfix support for the css within
<style>
. The approach is similar to the styled plugin, but instead of runningdoValidation
on the entire document, it uses thegetEmbeddedDocument('css')
to only return the CSS portion so that the validation doesn't run on html tags and report incorrectly.I've added three additional tests to validate the new behavior. The gif below is representative, though I did change the diagnostic source name to
pluginName
as opposed to the :fire: emoji. :-)