kakrostropovich / atom-css-from-html Goto Github PK
View Code? Open in Web Editor NEWSimple way to get a list of CSS-classes from HTML-document in Atom.io
License: MIT License
Simple way to get a list of CSS-classes from HTML-document in Atom.io
License: MIT License
Было бы неплохо, если бы из .jsx файлов мы могли бы получить из
className={b.element}
=>
.element{}
<div className={styles.content}>
<h1 className={styles.header}>
{count - questions.length}/{count}.
{' '}
{currentQuestion.name}
</h1>
<div className={styles.result}>
{this.renderCurrentIcon()}
{this.renderCurrentDescription()}
</div>
<div className={answersStyles}>
<div key={1} className={styles.description} dangerouslySetInnerHTML={marked(currentQuestion.text)}/>
<div className={styles.answers__wrap}>
{this.renderAnswers(currentQuestion)}
</div>
</div>
</div>
</div>
[Enter steps to reproduce:]
Atom: 1.34.0 x64
Electron: 2.0.16
OS: Microsoft Windows 10 Pro
Thrown From: css-from-html package 0.1.5
Uncaught TypeError: Cannot read property 'getSelectedText' of undefined
At C:\Users\Lenovo\.atom\packages\css-from-html\lib\css-from-html.coffee:37
TypeError: Cannot read property 'getSelectedText' of undefined
at Object.start (/packages/css-from-html/lib/css-from-html.coffee:37:27)
at /packages/css-from-html/lib/css-from-html.coffee:15:87)
at CommandRegistry.handleCommandEvent (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:350017)
at CommandRegistry.dispatch (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:11:348492)
at AtomEnvironment.dispatchApplicationMenuCommand (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:1:671034)
at EventEmitter.t (~/AppData/Local/atom/app-1.34.0/resources/app/static/<embedded>:1:678418)
at emitThree (events.js:136:13)
at EventEmitter.emit (events.js:217:7)
-0:23.9.0 css-from-html:start (atom-pane.pane.active)
css-from-html 0.1.5
css-snippets 1.1.0
html-tag-auto-complete 0.1.1
html-to-css 0.2.2
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.