Just a small bump in CoffeeScript parser, updated to version 1.12.3 - tons has changed and been fixed since 1.10.0. More on coffeescript.org.
We've added a bunch of fixes to the Embed:
🎨 Overriding colors works again.
🐞 There was a problem when the Results tab would not have the correct height if embedded as the first tab in order. This is now working as expected.
JSX Syntax Highlighting
Additionally bumped CodeMirror version from 5.9.0 to 5.19.0 – they sure update it a lot!
Sorry for the trouble.
This is long overdue, and actually wasn't supposed to land in this version of JSFiddle, but turned out to be a 30 minute task, so here it is – resource reordering!
Just grab a resource and drag it into a new slot.
Fighting with spam + false-positives
In the past months we've implemented a number of features that check for spammy fiddles (we get a fair share of these), we've been really happy with the results, a lot of spam is caught and blocked, but there are some false-positives.
If you notice your fiddle being marked as spam, just let us know, we'll evaluate, and unblock it.
In other news, we've also updated our captcha to noCaptcha during signup.
Inconsolata replaces Fira Mono
While we're big fans of Fira Mono, the typeface has a few issues on specific OS/browser configurations. We've tried different versions of Fira Mono hoping that will address the problems, unfortunately without much luck. So today we're replacing it with Inconsolata as our default monotype font.
New embeds and Embed Creator
New embeds have landed and a lot of things have changed!
There’s a whole new thing called the Embed Creator, no need to go through to documentation to see what’s possible to be done with the embed, now simply open up the Embed dropdown, and presto, all customization options are available:
- Pick which tabs are visible
- Change theme from light to dark
- Pick embed type: script or iframe (depending on what you fancy)
Alter some colors, like:
- Accent color (blue line in the menu) — this if great for websites that have their own branding color
- Font color in the menu
- Menu background color
- Background color of the editor
All options take a hex value (skipping the # in the front).
It’s not hard to see, the embed is now available in two color flavors, light and dark.
More are to come — we’ll be adding third-party color schemes that are quite popular in some IDE’s.
We’ve really tried not to break any backwards compatibility with the previous embed. If anything should pop up, please drop a new issue on our Github Issues.
Changes to how local drafts work
We've changed a bit how the local drafts work, the draft needs to be applied manually instead of adding it automatically right after page refresh.
In addition, there's a new view to see the diff between saved and local version of your fiddle.
This probably has happened many times to everyone of us. You're working on some code in JSFiddle, the tab/browser crashes, and we're pulling our hair because we forgot to save. No more.
JSFiddle will now always store a local copy of the code you were working on, so you don't lose a thing (even if you're offline).
Editor settings have landed, you can now set a few things like indentation level, key modes (Sublime Text, VIM, EMACS), line wrapping, hiding line numbers.
Since some fiddlers are not huge fans of automagical things, we're also added the option to disable auto-closing HTML tags.
CoffeeScript compiler has been updated to the newest stable version. Up till now we used 1.6.2. 1.10.0 update should bring tons of bug-fixes. See CoffeeScript changelog.
So this just happened, a JSFiddle update. There's no denying that this doesn't happen very often, to be more precise visual changes aren't happening that often.
We're calling this a lifting for a reason, as opposed to many backend changes that happened over the years, this is mostly a visual one.
Read the whole long post at Medium.