Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Fix: Tests dj4 compatible * Feature: Inline editing * Make flake (8 happy) * Fix: Inline editing js only loaded in edit mode. * Fix: Only create InlineEditor for visible elements * Fix: Keep child plugins in tact while inline editing * Fix: Tests * Fix: Flake8 and isort * Fix: Add editor condig to dom using toolbar * Refactor: unify ckeditor management * Add: Plugin editing in the inline editor * Fix: Avoid prepare single load of text * Fix: Strongly increased responsiveness. Common csrf token * Fix: isort, flake8 * Fix: isort * Add: dark mode for frontend editing * Fix: only group plugins into modules if there are any * Fix: non-placholder fields * Fix: Add cms_path to post requests * Add: show toolbar loader when saving * Fix: remove console.logs, better style * Fix: Bind CKEDITOR only after load * Fix: Reload toolbar after save to allow edits to be published * Fix: Refactor toolbar reload for better reusability * Fix: Memorize styles before first edit Fix: Admin forms w/o plugin * Fix: updated js file in widgets.py * Fix: admin htmlfields * Fix: Remove debug console.log statements * Fix: Child Plugin editor confusion. * Fix: Float ckedor diaog above cms structure board * Fix: block toolbar click manager forb ckeditor * Fix: Highligh of text plugin * Add: CKEDITOR_INLINE_EDITING setting to activate inline editing * Fix: Change setting to TEXT_INLINE_EDITING * Fix: missing comma * Fix: flake adjustments * Fix flake 2nd * Update Readme * Fix: link correct static js file * Add: Improved responsiveness by only initializing visible text areas (using Observer class) Fix: Double rendering of text child plugins * Fix: Editor initialization Add: temporary console.log statements for debugging * Fix: wrong editor init order * isort * flake8 w503 * Fix: unwanted scrolling when entering inline editor * Fix: removed unused variable * Fix: Avoid double rendering of plugins when in inline edit mode * Fix: isort * Add: Warning before navigating away from unsaved changes * Fix: Allow for custom overwrite of `cms/plugins/text.html` template Fix: Do not wrap already wrapped html * Fix: show inline-flex cms-plugins also inline and not as block * Add: Switch in admin menu bar for inline editing * fix: isort * fix: lint error * Add: Toolbar button * Fix: Remove unused imports * Fix: User HTML instead of admin HTML when inline editing is turned off * Add: title attribute for inline editing toolbar button * Some flakes * Fix: Obfuscation to avoid W503 and W504 * Fix: Keep code readable by accepting the new best practice W504 * OK, it's W503 - the new best practice W504 becomes the anti-pattern * Fix: ckeditor opening select dialog box if cmsplugin contains a select tag * Fix: Toolbar.request.get_absolute_url() does not work: use toolbar.request_path instead * Add: Simple test * Fix: test syntax * test: move test case to test_plugin.py * Test: test on github actions * Test: Test edit mode * Test: Try truning on inline-editing * Tests: Testing the inline editing switch * Some lint chocolate * Fix: Persisetence of inline_editing switch * Add: some comments * Fix: dark mode support for inline-editor Add: icon setting for cmsplugins * Fix: flake8 unused import * Fix: Remove toggle button on touch devices and in collapsed menus. * No white space before of * Fix: No white space at elf for inline.html * Fix: namespace events, unregister events * Fix: z-index to let dialog float above structure board * Update: readme.rst * NO NEWLINE AT THE END! * NO NEWLINE AT THE END * Fix: remove newlines at end of text.html and inline.html * Fix: displayStyle undefined bug
- Loading branch information