1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-07-30 04:23:11 +03:00

Added editor control in admin settings & Fixed some markdown editor bugs

Also updated the setting system with a more sane approach to handling default values. (Now done via the setting-defaults config file)
This commit is contained in:
Dan Brown
2016-03-29 19:26:13 +01:00
parent efb49019d4
commit e1994ef2cf
7 changed files with 53 additions and 18 deletions

View File

@ -13,11 +13,11 @@ class AddMarkdownSupport extends Migration
public function up()
{
Schema::table('pages', function (Blueprint $table) {
$table->longText('markdown');
$table->longText('markdown')->default('');
});
Schema::table('page_revisions', function (Blueprint $table) {
$table->longText('markdown');
$table->longText('markdown')->default('');
});
}