Skip to content

Disabling "mention" causes the "upload-image" button to disappear #163

@aaugustin

Description

@aaugustin

Details

  • OS (Operating System) version: macOS 11.4
  • Browser and browser version: Firefox 89
  • Django version: 3.2.5
  • Martor version & theme: 1.6.3; the bug happens with both themes

Steps to reproduce

MARTOR_ENABLE_CONFIGS = {
    'imgur': 'true',
    # if I comment out this config (I don't need the feature), the image upload button disappears!
    'mention': 'true',
    'jquery': 'true',  # required for the admin
}

MARTOR_TOOLBAR_BUTTONS = [
    'image-upload',
    'toggle-maximize',
]

Here's the button that disappears when I disable the mention feature:

Screen Shot 2021-07-14 at 15 08 16

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions