Skip to content

Commit

Permalink
fix formating
Browse files Browse the repository at this point in the history
  • Loading branch information
fsbraun committed Dec 12, 2024
1 parent 9284c02 commit a4f4b07
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions djangocms_text/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ class TextEditorWidget(forms.Textarea):
revert_on_cancel: A boolean flag to enable or disable reversion of changes on cancellation.
body_css_classes: A string for CSS classes to be attached to the editor body.
"""

@property
def media(self):
rte_config = get_editor_config()
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/test_ckeditor4.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def handle_console_message(msg):
editor = page.locator(".cke.cke_reset")
expect(editor).to_be_visible() # Editor

expect(page.locator('.cke_top.cke_reset_all')).to_be_visible() # its menu bar
expect(page.locator('.cke_button.cke_button__bold')).to_be_visible() # a button in the menu bar
expect(page.locator(".cke_top.cke_reset_all")).to_be_visible() # its menu bar
expect(page.locator(".cke_button.cke_button__bold")).to_be_visible() # a button in the menu bar

assert not console_errors, f"Console errors found: {console_errors}"

0 comments on commit a4f4b07

Please sign in to comment.