Adding and updating styles in tinymce #2704

Closed
opened 2026-02-05 04:52:03 +03:00 by OVERLORD · 2 comments
Owner

Originally created by @looknear on GitHub (Mar 12, 2022).

Attempted Debugging

  • I have read the debugging page

Searched GitHub Issues

  • I have searched GitHub for the issue.

Describe the Scenario

changing and adding styles to config.js - has no effect on the styles of the tinymce.
adding new "formats" and "style_formats" has no effect.
is there some different setup than the original tinymce dev instructions?

Exact BookStack Version

v22

Log Content

No response

PHP Version

7.4

Hosting Environment

apache

Originally created by @looknear on GitHub (Mar 12, 2022). ### Attempted Debugging - [X] I have read the debugging page ### Searched GitHub Issues - [X] I have searched GitHub for the issue. ### Describe the Scenario changing and adding styles to config.js - has no effect on the styles of the tinymce. adding new "formats" and "style_formats" has no effect. is there some different setup than the original tinymce dev instructions? ### Exact BookStack Version v22 ### Log Content _No response_ ### PHP Version 7.4 ### Hosting Environment apache
OVERLORD added the 🐕 Support label 2026-02-05 04:52:03 +03:00
Author
Owner

@looknear commented on GitHub (Mar 12, 2022):

you can remove the issue.
but will be great to document some development flow and architecture better.
using NPM, how to start developing env etc.
Thanks.

@looknear commented on GitHub (Mar 12, 2022): you can remove the issue. but will be great to document some development flow and architecture better. using NPM, how to start developing env etc. Thanks.
Author
Owner

@ssddanbrown commented on GitHub (Mar 12, 2022):

Cool, Will therefore close.
I feel we've fairly well covered this in the readme: https://github.com/BookStackApp/BookStack#%EF%B8%8F-development--testing so I won't make any immediate changes.

Note: Tweaks to the editor config can be made without altering core app files by utilizing the custom editor events we emit:
https://www.bookstackapp.com/docs/admin/hacking-bookstack/#bookstack-editor-events

@ssddanbrown commented on GitHub (Mar 12, 2022): Cool, Will therefore close. I feel we've fairly well covered this in the readme: https://github.com/BookStackApp/BookStack#%EF%B8%8F-development--testing so I won't make any immediate changes. Note: Tweaks to the editor config can be made without altering core app files by utilizing the custom editor events we emit: https://www.bookstackapp.com/docs/admin/hacking-bookstack/#bookstack-editor-events
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/BookStack#2704