parasshah195 / webflow-sass Goto Github PK
View Code? Open in Web Editor NEWA Webflow app that adds support for Sass styling in Webflow designer
A Webflow app that adds support for Sass styling in Webflow designer
Problem
Characters like quotation marks ('
, "
), angle brackets (>
) are encoded to HTML entities by Webflow on the published site. This is in-line with the behavior of Webflow sanitizing all text content.
The app sets styles as text content in DOM elements.
This causes the child selector and other use of ASCII characters render fine in the designer live preview, but makes those CSS rules invalid on the published site, giving a mismatched and unexpected behavior between design and production.
Solution
This is not in my control, since there doesn't seem any other way to set/apply DOM element content in Webflow by apps as of now.
Have reached out to the Webflow support team to discuss this issue. No response from them on this as of now (since the last 3 weeks).
One solution from their end would be to detect use of such special tags (like style
, script
, and others) on the DOM element and not encode output of those. That would be the most ideal and backwards-compatible since it wasn't require any structural or output level changes to any existing use of the Sass template
and style
elements.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.