codemirror icon indicating copy to clipboard operation
codemirror copied to clipboard

Emmet plugin for CodeMirror online editor

Results 13 codemirror issues
Sort by recently updated
recently updated
newest added

Hi, I'm trying to use some personal snippets using the scss profile, but with no real success ^^ running this in a browser ``` // Init CodeMirror editor = CodeMirror.fromTextArea(document.getElementById('code'),...

http://jsbin.com/vesitil/1/edit?html,output `h1` but nothing happened. --- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/39565624-no-emmet-keymaps?utm_campaign=plugin&utm_content=tracker%2F438327&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F438327&utm_medium=issues&utm_source=github).

I'm a Windows user. Somehow, Merge Lines doesn't work with [the Default keybindings](https://github.com/emmetio/codemirror/blob/1eebbcf80a8f56ac56000d35cd8de719ee3d9135/plugin.js#L16) : `Shift-Cmd-M`, but does work if change to `Cmd-Shift-M`. It's strange, but can you switch the order?...

``` table>tr>td>a ``` produces: ``` %table %tr %td%a{:href => ""} ``` which isn't quite right (the a should be nested too). It happens in CodeMirror Emmet, but also in Sublime...

Is there a way to build emmet.js without lodash being baked right into the file? Like lodash is already available globally so it just uses that? ## --- Want to...

Hey, this is Oskar from JSFiddle. We have emmet enabled by default in JSFiddle, and always had the issue that a HTML comment is toggled within the JavaScript panel. Was...

Example: Type "width" + TAB. It will Emmet-out to "widows: " See: ![width](https://cloud.githubusercontent.com/assets/69156/19833253/e8f9bca2-9e00-11e6-91ca-4d8a78e57ffe.gif) It differs from how Emmet works in Sublime Text. Maybe that's good? Maybe it's some newer code...

this is my demo ``` require(['jquery', 'codemirror','codemirror/addon/emmet/emmet', 'codemirror/mode/htmlmixed/htmlmixed'], function($, CodeMirror,Emmet) { var CodeMirrorObj = { cms: { htmlCm: null }, opts: { htmlOpt: { lineNumbers: true, mode: "text/html", theme: "monokai",...

ATM the only way to build the plugin without caniuse data is to patch emmet.js ``` js import emmet from 'emmet'; import 'emmet/bundles/snippets'; // -- commented out //import 'emmet/bundles/caniuse'; export...

Add 'text/x-styl': 'stylus' to the modeMap [editor.js](https://github.com/emmetio/codemirror/blob/master/editor.js#L9) ``` js modeMap: { 'text/html': 'html', 'application/xml': 'xml', 'text/xsl': 'xsl', 'text/css': 'css', 'text/x-less': 'less', 'text/x-scss': 'scss', 'text/x-sass': 'sass', 'text/x-styl': 'stylus' }, ``` ##...