Redactor の設定をどうカスタマイズするのかちゃんと理解してないところがありつつ。。。
Examples / Image resizing and positioning
https://imperavi.com/redactor/…
で紹介されている感じのことを設定してみる。
設定としては
imageResizable: true,
https://imperavi.com/redactor/docs/settings/image/#s-imageresizable
とのことなので、これを追加する。
/config/redactor/Standard.json
など Redactor で使っている設定ファイルに
{
"buttons": ["html","formatting", "bold", "italic", "unorderedlist", "orderedlist", "line","link", "image", "video","table"],
"plugins": ["fullscreen", "table","video"],
"linkNewTab": true,
"toolbarFixed": true,
"imageResizable": true
}
こんな感じで追加することで設定ができた。
redactorで出力される画像をBootstrapのレスポンシブ画像にしたいというのがあるので、その辺はもう少し調べてみる
