Skip to content

fix(editor): set translate=yes for read-only editor - #8962

Merged
mejo- merged 1 commit into
mainfrom
fix/readonly_allow_translate
Aug 5, 2026
Merged

fix(editor): set translate=yes for read-only editor#8962
mejo- merged 1 commit into
mainfrom
fix/readonly_allow_translate

Conversation

@mejo-

@mejo- mejo- commented Aug 4, 2026

Copy link
Copy Markdown
Member

Tells browsers to translate the editor content despite it being a contenteditable element.

Fixes: nextcloud/collectives#2666

Assisted-by: OpenCode:claude-fable-5

馃弫 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits

馃 AI (if applicable)

  • The content of this PR was partly generated using AI tools
  • The AI-generated content was reviewed, comprehended and tested by a human

@mejo- mejo- self-assigned this Aug 4, 2026
@mejo- mejo- added bug Something isn't working 3. to review labels Aug 4, 2026
@github-project-automation github-project-automation Bot moved this to 馃Л Planning evaluation (don't pick) in 馃摑 Productivity team Aug 4, 2026
@mejo- mejo- moved this from 馃Л Planning evaluation (don't pick) to 馃憖 In review in 馃摑 Productivity team Aug 4, 2026
@mejo-
mejo- force-pushed the fix/readonly_allow_translate branch from 34c1b1d to b4018a8 Compare August 4, 2026 14:00
@mejo-

mejo- commented Aug 4, 2026

Copy link
Copy Markdown
Member Author

/backport to stable34

@max-nextcloud max-nextcloud left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for tackling this! 鉂わ笍

I have two requests for changes.

Comment thread src/composables/useEditorMethods.ts Outdated
Comment thread src/plugins/translateAttribute.ts Outdated
@mejo-
mejo- force-pushed the fix/readonly_allow_translate branch from b4018a8 to fd64738 Compare August 5, 2026 07:47
@mejo-
mejo- requested a review from max-nextcloud August 5, 2026 07:47

@max-nextcloud max-nextcloud left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good now.

Just a linter issue remaining.

Tells browsers to translate the editor content despite it being
a `contenteditable` element.

Fixes: nextcloud/collectives#2666

Signed-off-by: Jonas <jonas@freesources.org>
Assisted-by: OpenCode:claude-fable-5
Signed-off-by: Jonas <jonas@freesources.org>
@mejo-
mejo- force-pushed the fix/readonly_allow_translate branch from fd64738 to 168944b Compare August 5, 2026 08:08
@mejo-
mejo- merged commit d3ef8d0 into main Aug 5, 2026
65 of 69 checks passed
@mejo-
mejo- deleted the fix/readonly_allow_translate branch August 5, 2026 10:15
@github-project-automation github-project-automation Bot moved this from 馃憖 In review to 鈽戯笍 Done in 馃摑 Productivity team Aug 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug Something isn't working

Projects

Status: 鈽戯笍 Done

Development

Successfully merging this pull request may close these issues.

Browsers can't translate page content automatically

3 participants