benweet / stackedit.js

Add StackEdit to any website
https://benweet.github.io/stackedit.js/
MIT License
1.08k stars 119 forks source link

Why send the whole text content to StackEdit? #23

Closed Doidel closed 6 years ago

Doidel commented 6 years ago

Hello bentweet

First and foremost thanks for this awesome editor!

I just noticed while reading through your stackedit.js, that you send the whole text content as a param in the src of the iframe: `const params = {

  contentText: content.text,

};

... iframeEl.src = urlParser.href;`

For these reasons I would prefer if the content was sent by message (and maybe also the title):

Please tell me if you object to (some of) these issues. Otherwise I would greatly appreciate if at least the content was sent by message! 👍

Best regards Doidel

benweet commented 6 years ago

The content is sent as a hash parameter. It's not sent to any server.

Doidel commented 6 years ago

Oh alright, learnt something :) Thanks for the clarification!