NodeBB-Community / nodebb-plugin-composer-redactor

Redactor Composer for NodeBB
GNU General Public License v3.0
38 stars 28 forks source link

Fix Redactor options and csrf error. #49

Closed yariplus closed 8 years ago

yariplus commented 8 years ago

The Redactor options should be set using the global options object, so that nodebb plugins can actually change the values.

Also, fixes csrf headers.

Closes #36

yariplus commented 8 years ago

If we had real filter hooks, those would be even better.

yariplus commented 8 years ago

Not to be pushy, but could this get merged?

I'm only moving the options from the redactor initialization to the global options. For context, when the options are in the initialization, they replace the global options, meaning that plugins cannot add any features to Redactor.

julianlam commented 8 years ago

Certainly, thanks for the reminder :smile:

julianlam commented 8 years ago

Let me know if you want this to be a new published version of Redactor

yariplus commented 8 years ago

Thanks, I just want to have the uploads issue fixed too, before the version update.