Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinDev committed Oct 18, 2023
1 parent c1690db commit f03619e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/admin-block-editor-tools/src/Raw/Raw.js
Expand Up @@ -44,6 +44,7 @@ export default class Raw extends RawTool {
editor.setOptions({
maxLines: Infinity,
});
editor.session.setTabSize(2);

editor.getSession().on('change', () => {
if (textarea) textarea.val(editor.getSession().getValue() || '');
Expand Down

0 comments on commit f03619e

Please sign in to comment.