Live data from Hacker News

Redactor - WYSIWYG editor on jQuery

imperavi.com

11–20 of 87 posts

Re: Redactor - WYSIWYG editor on jQuery

#11
post #9

The Amazon S3 support seems to suggest that the authors believe it is acceptable to store your AWS key ID and "secret" key in your client-side JavaScript code. Am I missing something here?

Yes you are absolutely correct. http://imperavi.com/redactor/examples/s3/

Re: Redactor - WYSIWYG editor on jQuery

#12
post #9

The Amazon S3 support seems to suggest that the authors believe it is acceptable to store your AWS key ID and "secret" key in your client-side JavaScript code. Am I missing something here?

What you're missing is that the secret isn't present. What's there is a policy, which is a way to preauthorize file uploads to S3. The policy is signed with the secret key ahead of time. It looks to me like all the fields in that form are safe to be exposed publicly.

See http://aws.amazon.com/articles/Java/1434.

Addendum: The "key" there means key in the S3 sense, as in the name of the object being stored.

Re: Redactor - WYSIWYG editor on jQuery

#13
post #8
post #7

Very cool. Also worth noting these guys have a CSS framework (who doesn't these days?) that looks similarly clean and elegant, though I didn't dig into it enough to make a truly informed call. But still, worth noting... http://imperavi.com/kube/

[deleted]

so long? twitter bootstrap was released 14 months ago.

Re: Redactor - WYSIWYG editor on jQuery

#16
post #10

Looks wonderful. Love the "clean on paste" function.

TinyMCE have something like this, but yeah, it should be a easy-access function. The only downer for me : it uses JQuery, which I often avoid in admin pages.

Same question here. http://www.ourtuts.com/34-outstanding-admin-panels-for-your-... are all made using Jquery. Why you want to avoid Jquery in admin panels?

Re: Redactor - WYSIWYG editor on jQuery

#17
I would probably move HTML button to the far right of the menu and maybe get rid of strikethrough. Also, the P, H1, etc dropdown menu icon didn't immediately make sense to me. But those are all minor gripes -- this is really, really nice work. Congrats.

Re: Redactor - WYSIWYG editor on jQuery

#18
Looks very nice.

A few things I can't seem to see how to do (that I can do with TinyMCE):

1. Define some CSS classes that I want to be available to the user (I'd never give colour and font controls to my users unless I wanted my lovely site design to end up full of bright-pink 42pt comic-sans)

2. Supply a list of already-uploaded images

3. Supply a list of internal links to the 'add link' dialog

4. Resize handles for images (or even better - some preset sizes) - I process WIDTH and HEIGHT server side and replace the image with one resized on the server.

5. Allow a couple of CSS classes for images (although I had to hack MCE to allow this)

Post reply on HN