Problem/Motivation
ckeditor_rebuild() was added to workaround the lack of renderPlain() and render contexts. Now that we have these, it could be moved to a helper for the insert/update hooks and not implement hook_rebuild() any more.
Proposed resolution
Remove it.
Remaining tasks
None.
User interface changes
None.
API changes
None.
Data model changes
None.
Beta phase evaluation
| Issue category | Task because pure clean-up. |
|---|---|
| Issue priority | Normal because less complexity in ckeditor.module. |
| Disruption | Zero disruption, pure internal change. |
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | 2546828-3.patch | 7.23 KB | wim leers |
Comments
Comment #2
wim leersQuick patch. This basically reverts the CKEditor-related changes in #2361681: drupal_render(): invert second argument ($is_recursive_call -> $is_root_call) => more strict, better DX/TX.
Comment #3
wim leers#2 is incomplete. Sorry about that.
Comment #4
wim leersSelf-RTBC'ing since:
Comment #5
alexpottThis looks really good to me but self-rtbcing is not really right.
Comment #6
wim leersYeah, sorry about that. Knowing the editor/ckeditor/quickedit issue queues though, nobody else will RTBC it.
But, this is not at all urgent. So let's just let it sit for a while :) It also is not an API change, so can even happen after 8.0.0.
Again, apologies. Won't happen again, not even for patches as trivial as this one.
Comment #7
fabianx commentedRTBC, but we need a beta-evaluation.
Comment #8
wim leersComment #9
alexpottRemoving unnecessary hooks and adding correct cache tags seems like a very good idea. Committed 3f31dbe and pushed to 8.0.x. Thanks!
Thanks for adding the beta evaluation to the issue summary.