markhillard / editor Goto Github PK
View Code? Open in Web Editor NEW:pencil: Real-time, responsive HTML/CSS/JS code editor
Home Page: https://markhillard.github.io/Editor
License: MIT License
:pencil: Real-time, responsive HTML/CSS/JS code editor
Home Page: https://markhillard.github.io/Editor
License: MIT License
Is your feature request related to a problem? Please describe.
I would like to debug the errors and check the outputs while I am coding.
Describe the solution you'd like
A panel where it is possible for the user to show/hide Console outputs.
Describe alternatives you've considered
As long as I get the Console outputs I am enjoyed :)
Additional context
Add any other context or screenshots about the feature request here.
Developer Console output so I can see console.log('This is my output');
in a panel or view somewhere .
And last but not least thanks for a such a great standalone live code editor!
Best regards Zilveer
I tested the downloaded file and the preview doesn't work
Describe the bug
Copy and paste the jQuery codes (https://jqueryui.com/draggable/) for a show case about draggable.
I can see the image, but can't drag it.
To Reproduce
code for test:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>jQuery UI Draggable - Default functionality</title>
<link rel="stylesheet" href="//code.jquery.com/ui/1.13.2/themes/base/jquery-ui.css">
<link rel="stylesheet" href="/resources/demos/style.css">
<style>
#draggable { width: 150px; height: 150px; padding: 0.5em; }
</style>
<script src="https://code.jquery.com/jquery-3.6.0.js"></script>
<script src="https://code.jquery.com/ui/1.13.2/jquery-ui.js"></script>
<script>
$( function() {
$( "#draggable" ).draggable();
} );
</script>
</head>
<body>
<div id="draggable" class="ui-widget-content">
<p>Drag me around</p>
</div>
</body>
</html>
Expected behavior
Move the draggable object by clicking on it with the mouse and dragging it anywhere within the viewport.
Screenshots
Desktop (please complete the following information):
Test with other jQuery sample codes, no one works
https://jqueryui.com/
This probably has to do with Emmet's keymap overriding the Sublime keymap. Need to look into this.
Create buttons that can increase/decrease font-size and save setting in local storage.
Describe the bug
Not really a 'bug' but I can't get it to work. (I am using it locally.) In the left panel, 'HTML' is highlighted. I type in text and nothing appears in the right panel. I try to switch to CSS or JS and it stays on 'HTML'. The 'tools' doesn't drop down.
What am I doing wrong?
The following editor toggles need to be saved using local storage:
It appears that the code pane resize bars are slightly too small in Chrome.
When I input '
If I add support for mobile devices, I'll need to...
Awesome project you've got here!
Would be neat if there were an option to download the code, either in ZIP format with html/css/js files or possibly concat all into a single file...
No clue how to implement this, so afraid I can't help, but figured I'd run the suggestion by you : )
Cheers!
Possible fix:
.code-pane-* {
position:absolute;
visibility:hidden;
}
Should I implement keyboard shortcuts for primary action buttons?
Notes
CodeMirror.keyMap
object)Available Shortcuts
Ctrl + S
: Save (check for iframe focus - reference)Ctrl + F
: Find (not sure if I'll add search/replace functionality)This is a cosmetic issue, but I need to figure out a better way to auto-resize code panes.
Please add user system, database and admin panel
Vertical scroll bars are not shown on page load and scrolling is locked. Re-sizing code panes does not seem to refresh them either.
Horizontal scroll bars work fine.
When searching for a library from https://api.cdnjs.com/libraries using the typeahead search field, the results are prioritized alphabetically. This causes libraries that have dash characters (and possibly other special characters) in their names to be listed first. The search algorithm will need to be modified.
This is an issue especially when searching for libraries that have many subsets of JS files. For example, if you want the main jQuery library, you can't get/load it because all the other libraries that start with "jquery-" are shown first, so you never end up seeing just "jquery".
Also, I need to consider showing more results and setting a maximum height on the results list so it will overflow automatically with a scroll bar.
Every action in the editor windows causes the preview window to refresh, which can be annoying when writing larger chunks of code. The ability to turn this on/off would be useful and you can still use the "run" button to manually refresh the preview window.
Need to create a button in the HTML code pane that loads the latest stable version of jQuery.
Describe the bug
The codepen example found at https://codepen.io/mjgartendev/pen/zQOLqW doesn't look and behave as it should in your Editor, and I have tried to make it work on your editor but it just doesn't work and I wonder why ?
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Preview on Codepen and Editor isn't the same.
Screenshots
Will add tomorrow
Desktop (please complete the following information):
OS: win7
Browser: Chrome (latest) and FF (latest)?
Additional context
A fix for this or to understand why it doesn't work would be appreciated.
When clicking on the run button in the "JS" code pane, scripts are not added in the iframe's HTML markup. Instead, it's running scripts in the parent document
(the page itself).
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.