Fix ATTR_ENUMERATED_COERCION warnings
(deprecation ATTR_ENUMERATED_COERCION) Enumerated attribute "contenteditable" with v-bind value false
will render the value as-is instead of coercing the value to "true" in Vue 3. Always use explicit "true" or "false" values for enumerated attributes
Note false
here means string. So contenteditable="false"
is wrong, :contenteditable="false"
is ok
Offending attributes:
- draggable
- spellcheck
- contenteditable
Offenders:
- app/assets/javascripts/content_editor/components/wrappers/footnote_definition.vue
- app/assets/javascripts/content_editor/components/wrappers/code_block.vue
- app/assets/javascripts/content_editor/components/bubble_menus/code_block_bubble_menu.vue
- app/assets/javascripts/content_editor/components/wrappers/table_cell_base.vue
- app/assets/javascripts/ci/ci_variable_list/components/ci_variable_drawer.vue
- app/assets/javascripts/ci/ci_variable_list/components/ci_variable_modal.vue
- app/assets/javascripts/diffs/components/diff_row.vue