This repository was archived by the owner on Mar 26, 2025. It is now read-only.
Commit 31cb918
authored
feat: inline editor (#606)
* 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 bug1 parent ad86d37 commit 31cb918
File tree
86 files changed
+1446
-965
lines changed- djangocms_text_ckeditor
- locale
- ar/LC_MESSAGES
- bn/LC_MESSAGES
- ca/LC_MESSAGES
- cs/LC_MESSAGES
- da/LC_MESSAGES
- de/LC_MESSAGES
- el/LC_MESSAGES
- en/LC_MESSAGES
- es/LC_MESSAGES
- et/LC_MESSAGES
- eu/LC_MESSAGES
- fa/LC_MESSAGES
- fi/LC_MESSAGES
- fr/LC_MESSAGES
- gl/LC_MESSAGES
- he/LC_MESSAGES
- hi/LC_MESSAGES
- hr/LC_MESSAGES
- hu/LC_MESSAGES
- is/LC_MESSAGES
- it/LC_MESSAGES
- ja/LC_MESSAGES
- lt/LC_MESSAGES
- nl/LC_MESSAGES
- no/LC_MESSAGES
- pl/LC_MESSAGES
- pt/LC_MESSAGES
- ro/LC_MESSAGES
- ru/LC_MESSAGES
- sv/LC_MESSAGES
- tr/LC_MESSAGES
- uk/LC_MESSAGES
- static/djangocms_text_ckeditor
- ckeditor_plugins
- cmsdialog
- cmsplugins
- icons
- cmswidget
- ckeditor
- plugins/dialog/styles
- css
- js
- dist
- templates/cms
- plugins
- widgets
- toolbar
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
86 files changed
+1446
-965
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
91 | 117 | | |
92 | 118 | | |
93 | 119 | | |
| |||
97 | 123 | | |
98 | 124 | | |
99 | 125 | | |
100 | | - | |
| 126 | + | |
101 | 127 | | |
102 | 128 | | |
103 | 129 | | |
| |||
212 | 238 | | |
213 | 239 | | |
214 | 240 | | |
215 | | - | |
| 241 | + | |
216 | 242 | | |
217 | 243 | | |
218 | 244 | | |
| |||
252 | 278 | | |
253 | 279 | | |
254 | 280 | | |
255 | | - | |
| 281 | + | |
256 | 282 | | |
257 | 283 | | |
258 | 284 | | |
| |||
262 | 288 | | |
263 | 289 | | |
264 | 290 | | |
265 | | - | |
| 291 | + | |
266 | 292 | | |
267 | 293 | | |
268 | 294 | | |
| |||
0 commit comments