lavab / web

AngularJS web client of Lavaboom's email service
https://mail.lavaboom.com
38 stars 21 forks source link

Editor problems(textAngular) #805

Open let4be opened 9 years ago

let4be commented 9 years ago

I'm currently collecting a list of issues/weird behavior we want to get rid of Feel free to post noticed issues with editor here

let4be commented 9 years ago

What we need from new features:

andreis commented 9 years ago

Nah just plain text and html for now, we can add markdown later

let4be commented 9 years ago

http://codemirror.net/mode/markdown/ looks like a good choice for plain-text, html and markdown modes

andreis commented 9 years ago

If @vLooz allows it :smile:

let4be commented 9 years ago

This one also looks nice https://stackedit.io/editor but afaik no html mode here

vviikk commented 9 years ago

Guys, this one is superb! Has angular support. Looks sleek too! https://froala.com/wysiwyg-editor/

It is Commercial Open Source (https://github.com/froala/angular-froala)

http://froala.com/wysiwyg-editor/pricing (inexpensive compared to other commercial options)

@vLooz need's to chime in one the Markdown mode.

let4be commented 9 years ago

Hm, looks tasty :) Doesn't have textAngular childish problems like Hn/B/I/U not highlighting or issues with picture resize

andreis commented 9 years ago

@piggyslasher Ha, that's the one my colleagues from http://www.upb.ro/en/ did! Nice! :+1:

andreis commented 9 years ago

They're on Github too https://github.com/froala

I'm going to try contacting them on G+

andreis commented 9 years ago

It's free to try at https://www.froala.com/wysiwyg-editor/pricing

We can get it via bower

Two new heavy deps (jquery and fa), but it shouldn't be a big issue. Let's give this a try!

Docs: https://www.froala.com/wysiwyg-editor/docs

let4be commented 9 years ago

Sounds awesome :+1: I will check it out right after merge and deploy a bunch of fixes

let4be commented 9 years ago

btw @andreis their plans page looks awesome, we should do something similar :D

andreis commented 9 years ago

Just noticed they have framework integrations on github: https://github.com/froala/angular-froala

let4be commented 9 years ago

so! Finally I found a problem with integration it was font-awesome dependency and it must be loaded after our css

There is a integration preview available at: https://github.com/lavab/web/tree/feature/editor

So far my UX is very positive about this editor - it feels and works so much better than textAngular.

pros:

cons(not even a con, just a note):

I'm all for this editor

let4be commented 9 years ago

But before I'd really like to ask a few question form devs, so if possible connect us somehow, @andreis short list of questions:

There is also a question about

Froala Editor offers the option of uploading images using drag and drop. Don't worry about storing them, images are saved by default on http://i.froala.com, so you don't have to do a thing. Still, if you want to store them on your own server then that's easy to do, just follow the image upload tutorial.

as we can't expose images in plain-text, afaik they allow to customize only url

andreis commented 9 years ago

I asked for help

3nsoft commented 9 years ago

Froala does look nice, but, a huge BUT, if you insert it into UI, paying/negotiating a license for your single site, no one else will be able to run Lavaboom on their machine, as it will no longer be clean IP-wise. Froala is not MIT, is it?

Wasn't that your promise, that people will be able to run Lavaboom instances, in docks, etc.? Or, is such understanding incorrect?

Yes, Froala tech is nice. And imitation is the best compliment. :+1: Have you checked this: https://github.com/Voog/wysihtml may be it can be angularized?

let4be commented 9 years ago

I agree with you regarding froala, their licensing may be a no-go in this case @andreis ?

https://github.com/Voog/wysihtml looks promising I will check it out