RTCode.io (formerly SyncHTML.io)
The no-reload web playground with two-way, editor โ output, sync.
New playground
At Elefunc, we needed a way to edit the live DOM tree without state resets caused by reloads.
CodePen, JSFiddle and their kind were comically bad at meeting our requirements. So we built: SyncHTML.io.
change updates input โ output |
SyncHTML | CodePen, etc. |
---|---|---|
HTML |
๐ข sync 1ms |
๐ load โณ4s |
CSS |
๐ข sync 1ms |
๐ sync โณ2s |
JS |
๐ข sync 1ms ๐ load 1ms |
๐ load โณ4s |
change updates input โ output |
SyncHTML | CodePen, etc. |
---|---|---|
HTML CSS JS |
๐ข sync 1ms |
โ impossible |
SyncHTML.io is where
- you use Visual Studio Code
- to edit DevTools / Elements
- in real-time, with no reloads!
โข What you see here is a live demo!
โข The demo uses our programmable embeds.
โข It is our blog page driving the demo!
โข Scroll it into full view to activate.
โข Click in one of the panes to take control!
โข You will see sync back in action.
โข The output will update the input!
Inner workings
Legacy playgrounds โฆ
work one-way
with delays
and resets
After each edit, you wait for up to 4 seconds while they upload your code to their servers. Their bad design garbles up your code and reset-loads it into the output frame. You lose speed, privacy, flow, and hygiene.
Next-gen SyncHTML.io โฆ
works two-ways
no delays or resets
You edit the live DOM tree you see in DevTools / Elements. Nothing is ever uploaded to a server. You never wait. Changes sync in real-time from editor to output and back from output to editor. DOM state is preserved between edits. The output has no impurities. You gain speed, privacy, flow, and hygiene.
Introduced in November 2021
Our playground was born as try.WebPDF.pro.
It was first made for our PDF web components.
A real-time playground
with two-way sync
that preserves state
is priceless for
every web developer.
That's why we are turning it into a full-fledged, independent service.
Changes in December 2021
SyncHTML domains
We have secured many.
We launch with
- SyncHTML.io
- SyncHTML.com โ
SyncHTML logo
โ โ
A lightning-like S
for sync, and <>
.
It is derived from our WebPDF.pro logo.
We made it ourselves in our playground!
๐ Selections in links ( )
now persist and keep you in context.
๐ Panel controls ( )
๐ Adjust numbers ( / โ โ )
by selecting them and pressing arrow keys.
๐ JavaScript console
๐ ( )
now has a place in the UI.
Our console
is zero-pollution.
console in output |
SyncHTML | CodePen | JSFiddle |
---|---|---|---|
<script> |
0 |
1 |
1 |
characters | 0 |
863 |
4798 |
characters (executed) |
541 |
863 |
6258 = 1460 + 4798 |
variables | 0 |
2 HUB_โฏ โฏingify |
2 pushโฏ stringify |
console message |
SyncHTML | CodePen | JSFiddle |
---|---|---|---|
counters | 4 |
0 |
4 |
styling | โ๏ธ | โ | โ |
๐ Add <script>
, <style>
( / )
via context menu or keyboard shortcuts.
๐ Remote output ... ( ) ( / Alt+Q )
opens one new window.
๐ Paste URL Content ... ( / Alt+U )
to work on existing web assets.
๐ Input curtain ( )
prevents selection loss on focus.
๐ Output sandbox ( )
blocks access to parent window.
๐ Infinite Loop Guard โพ๏ธ ( )
recovers no matter the source.
infinite loop recovery in pane |
SyncHTML | CodePen | JSFiddle |
---|---|---|---|
HTML |
โ๏ธ | โ | โ |
JS |
โ๏ธ | โ๏ธ | โ |
๐ Error handling ( )
indicates issues, such as invalid characters in attribute names (e.g. @
), with a red dot ๐ด; recovers after user correction.
๐ Boolean attributes ( )
do not repeat name as value in output.
<video controls></video>