Remove table tool

This commit is contained in:
Miguel Jacq 2025-11-27 11:02:20 +11:00
parent 81cf878ffd
commit 9a82831e87
Signed by: mig5
GPG key ID: 59B3F0C24135C6A9
11 changed files with 3 additions and 798 deletions

View file

@ -1802,26 +1802,6 @@ def test_render_images_with_corrupted_data(qtbot, app):
assert len(text) >= 0
def test_editor_with_tables(qtbot, app):
"""Test editor with markdown tables"""
themes = ThemeManager(app, ThemeConfig(theme=Theme.LIGHT))
editor = MarkdownEditor(theme_manager=themes)
qtbot.addWidget(editor)
editor.show()
table_markdown = """
| Header 1 | Header 2 |
|----------|----------|
| Cell 1 | Cell 2 |
| Cell 3 | Cell 4 |
"""
editor.from_markdown(table_markdown)
qtbot.wait(50)
result = editor.to_markdown()
assert "Header 1" in result or "|" in result
def test_editor_with_code_blocks(qtbot, app):
"""Test editor with code blocks"""
themes = ThemeManager(app, ThemeConfig(theme=Theme.LIGHT))