8000 Unable to format Table properties in TinyMCE · Issue #3477 · BookStackApp/BookStack · GitHub
[go: up one dir, main page]

Skip to content

Unable to format Table properties in TinyMCE #3477

@radarsymphony

Description

@radarsymphony

Describe the Bug

Hi Dan,

Thank you for this amazing app!

I think I've found a bug with the tinyMCE editor integration. When editing a table using the tinymce editor, the user is presented with the option to set table properties, for example the gridline color. This color is applied to the table HTML/CSS in Bookstack but appears to be over-written by other Bookstack-related CSS rules. To confirm expected behavior, I verified that colors are rendered to table gridlines in the demo editor here https://www.tiny.cloud/

Steps to Reproduce

  1. Start fresh container without custom data or edits.
  2. Using Firefox/chromium private window, login.
  3. Enter into a test Shelf > Chapter.
  4. Create new page. (with tinymce editor)
  5. From editor, insert new Table.
  6. Highlight table and select table properties option.
  7. Click Advanced.
  8. Select border color.
  9. Click Save.
  10. Visually inspect table for new color.
  11. Save new page.
  12. Visually inspect rendered page for color.

Newly added table gridline color is not displayed.

Expected Behaviour

I am expecting that the table shows the new color selection for the gridlines like it does in the tinymce demo page. Let me know what else I can to do to help clarify the issue.

Screenshots or Additional Context

image
image
image

Browser Details

Mozilla Firefox 101.0, Chromium 102.0.5005.61 Arch Linux

Exact BookStack Version

v22.04.2

PHP Version

PHP 8.0.18

Hosting Environment

Using tiredofit/bookstack image, behind traefik proxy.

EDIT: made the issue a bit more general to include other Table properties as well.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0