BookStack icon indicating copy to clipboard operation
BookStack copied to clipboard

The description field in chapters seems limited to 2000 characters.

Open dom-breizh opened this issue 7 months ago • 1 comments

Describe the feature you'd like

When mixing text and html links to create a working index for a very long chapter, I reached that limit. Could this be made an editable variable in parameters - either global or per shelf ?

Describe the benefits this would bring to existing BookStack users

Some of my books have a lot of pages and internal and external references/links. Extending the limit of the description allows to create a usefull index. 2000 is simply not enough .

Can the goal of this request already be achieved via other means?

I did not find where to extend the desciption field.

Have you searched for an existing open/closed issue?

  • [x] I have searched for existing issues and none cover my fundamental request

How long have you been using BookStack?

3 months to 1 year

Additional context

No response

dom-breizh avatar Jun 05 '25 16:06 dom-breizh

Hi @dom-breizh,

The limit is there to prevent chapters (and books and shelves) being used for content instead of pages which are the primary target for actual content. I'm not keen on extending this limit for what sounds like a somewhat edge-case unintended use of the description field, nor am I keen to add variables for platform limits without wider need.

What is the purpose of the index? Just wondering if there's a better approach there but not sure why it's needed.

If you did want to work around this on your own instance, the limits are set at a controller validation level, like here for example for Chapter updates: https://github.com/BookStackApp/BookStack/blob/1ea2ac864aaa7e4ee3995ec675fd92db7b2722cd/app/Entities/Controllers/ChapterController.php#L124 (Note: Changes to an instance may cause conflicts on update which would have to be handled or re-applied).

ssddanbrown avatar Jun 05 '25 18:06 ssddanbrown