mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-06 12:02:45 +03:00
Input WYSIWYG: Updated API to show/accept html descriptions
Also aligned books, shelves and chapters to return description content and some relations (where not breaking API) in create/update responses also so that information can be seen direct from that input in a request. API docs and tests not yet updated to match.
This commit is contained in:
@@ -31,7 +31,7 @@ class Book extends Entity implements HasCoverImage
|
||||
public float $searchFactor = 1.2;
|
||||
|
||||
protected $fillable = ['name'];
|
||||
protected $hidden = ['pivot', 'image_id', 'deleted_at'];
|
||||
protected $hidden = ['pivot', 'image_id', 'deleted_at', 'description_html'];
|
||||
|
||||
/**
|
||||
* Get the url for this book.
|
||||
|
Reference in New Issue
Block a user