Skip to content

Commit e7e58e6

Browse files
committed
Enable HighlightPlugin in translate mode
1 parent 7ed7b6d commit e7e58e6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

addons/website/static/src/builder/plugins/highlight/highlight_plugin.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,7 @@ export class HighlightPlugin extends Plugin {
150150
}
151151
}
152152
registry.category("website-plugins").add(HighlightPlugin.id, HighlightPlugin);
153+
registry.category("translation-plugins").add(HighlightPlugin.id, HighlightPlugin);
153154

154155
// Todo: formatsSpecs should allow to be register new formats through resources.
155156
formatsSpecs.highlight = {

0 commit comments

Comments
 (0)