draft editor

3 views
Skip to first unread message

Ian C

unread,
Sep 17, 2015, 9:02:52 AM9/17/15
to CorinthiaTeam
Hi All,

I just pushed a draft editor to the odflenses branch.

To make it clone/pull the repo and checkout to odflenses.

Do the business to build dfconvert

change directory to experiments/corinithiaNode

Enter npm install (if you have node.js installed - you will need bower
too - npm install bower)

Enter gulp.

Once it's all there Enter npm start

open http://localhost:3000/app in Chrome or Firefox

Click on the set and select...
page will allow you to choose an odf file. and submit it.

Make it a simple one :-) You can only edit paragraph text

Now this needs to be made clearer on the page (did have bootstap..)
... but the Edit at the top is a button.
So click on it. The text will now be editable. Change something -
highlight and type

Click on Edit again... should change to View Only. And you'll see some
HTML in the text box.
Then hit save.
You should be presented with a link to download the edited document.

Do so and open it in say open office. Your edit should be there....

It is very crude at the moment, but want to integrate with the editor
Franz has etc.

--
Cheers,

Ian C
Reply all
Reply to author
Forward
0 new messages