sivabalan / wikicodeeditor Goto Github PK
View Code? Open in Web Editor NEWCode editor for MediWiki js and css pages
License: Other
Code editor for MediWiki js and css pages
License: Other
This JS is not working on my common.js
http://en.wikipedia.org/wiki/User:Harsh4101991/common.js
Whenever I clicked on Edit button it doesnt change any thing in url
When, we press Save and Close button, the function postWithEditToken is called and then programtically refresh the page.
The problem is that after refreshing it shows us the previous content of the code. There is a mismatch between what is in the database and what it is shown there.
A manual refresh shows the new content.
One solution for this can be integrating both the Save & Close button and Cancel button as Close button so that the user is forced to save the content before closing.
Possibly has to do something with DOM Exception and CORS.
With appropriate markers on the side of the IDE to report errors as and when :)
Add some kind of indicator to denote save operation is in progress.
Given some code in the script page
}
};
var themeDict = {
it's visible in the editor as
}
};
.
var themeDict = {
After it's saved withoud modifications, we get this:
jsHint identifies the empty characters generated by Ace editor as Error.
Sexy projects deserve sexy docs!
When we are in View action (action=view), clicking the Edit button leads to a code editor being opened without refreshing the page. When we want to go back (to the View), the page is refreshed.
When we click the Edit button on History page, nothing happens. (Actually, Chrome Debugger barks at some ace.js, but I'm too lazy to figure it out know). About leaving back to History, see above.
Also, try to click the Edit button once, and when the editor is loaded, click it once again. We'll see the code in the editor disappear!
Steps for reproducing:
All the text disappears. Happens both in Firefox as well as Chrome.
Reason: All the text is selected by default.
Although the defaul theme is Monokai on startup, it is set to Chrome.
When you scroll the code down and the line numbers turn hundreds, the line numbers column is widened by one char width. It's very uncomfortable.
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.