xreader / inplaceeditor Goto Github PK
View Code? Open in Web Editor NEWEdit static HTML pages with simple InPlaceEditor
Edit static HTML pages with simple InPlaceEditor
It's me again, sorry!
I'm just excited about the simplicity of this tool. :)
I seem to be able to write new content but when pressing enter, I can't make a new line or paragraph.
Suggestion: Integrate external editor, instead of building your own.
http://createjs.org/
Create.js is pretty new thing, that seems nice! it helps you to integrate aloha editor or hallo editor. It also handles local drafts, even if you close the browser. And seems to have easy integration.
There are pretty nice demos, which are quite similar to yours.
http://createjs.org/demo/hallo/
http://createjs.org/demo/aloha/
Create.js is only front-end (you have to have something that saves to server, like CMS) so I see benefits in integrating with inplaceeditor.
What do you think?
Demo could possibly be updated to reflect newest changes. :)
Is there a way to duplicate an element or should I develop a custom function?
Any hint?
Thanks
Hello,
The double click (for html editing) is not working for me. In the demo at least. It only activates edit like single click.
I'm using OS X Mavericks on Macbook Chrome. Tested both Chrome and Safari.
Using trackpad
I noticed that server.js tries to save over a file called "http://localhost:3000/index.html" instead of simply "index.html". I have to hardcode this to get it to work for me in server.js:
var name = 'index.html';//req.param('name', null);
Hi! Thanks for the nice job.
I've got an issue – I can't save:
saving:http://localhost:3000/index.html
/Users/xxx/yyy@zzz/initializr-bootstrap/server.js:147
if (err) throw err;
^
Error: ENOENT: no such file or directory, open 'http://localhost:3000/index.html'
at Error (native)
I have just downloaded the master branch zipball and installed it on my PHP hosting. InPlaceEditor looks very promising, but it is buggy right now.
First of all, there is no info in README about file permissions, password being salted in sha1('#1_' . $_POST["password"] . '+%6')
and required changing SERVER_PATH
in inplaceeditor.js to run it.
Next, index.html, login page and new.html files lack CSS assets, e.g. http://getbootstrap.com/2.3.2/ which is in any case obsolete, throw JS errors, e.g. TypeError: $.browser is undefined
in bootstrap-transition.js:37.
Next, login page layout is hardcoded in htmlEntities.inc rather than showing a modal on top of my theme (index.html).
Finally, while editing a text, I cannot add a header due to a NS_ERROR_FAILURE
in inplaceeditor.js:374. I am using the latest Firefox.
For now InPlaceEditor is not ready for prime time, but keep working on it, because it has potential.
I noticed that the verekia/initializr-bootstrap is getting pretty old and therefore with a fresh install the editorControls are impossible to use without changing code as they are dropdown - not dropup.
The .dropup class does not exist in current verekia/initializr-bootstrap.
Is inplaceeditor only built ot work with verekia/initializr-bootstrap or is it possible to use regular bootstrap?
Добрый вечер. Не работает открытие Html редактора по двойному клику. в Chrome работает.
Hello,
This editor is really promising! I have been looking for something like this for awhile now! Great work!
I expected that 'remove format' button would remove headline tags or that there would some other way to remove headline tags. No the only way seems to be to delete the whole headline and create a new one. Could be somewhat confusing for less tech savvy users.
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.