Skip to content

Commit

Permalink
disable space-invisible
Browse files Browse the repository at this point in the history
  • Loading branch information
elpoelma committed Dec 4, 2023
1 parent 86bb7a2 commit e4742aa
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .changeset/four-rivers-arrive.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"frontend-gelinkt-notuleren": minor
---

Disable space-invisible in order to prevent slowdowns
3 changes: 1 addition & 2 deletions app/controllers/agendapoints/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ import {
hardBreak,
heading as headingInvisible,
paragraph as paragraphInvisible,
space,
} from '@lblod/ember-rdfa-editor/plugins/invisibles';

import {
Expand Down Expand Up @@ -249,7 +248,7 @@ export default class AgendapointsEditController extends Controller {
this.citationPlugin,
this.validationPlugin,
createInvisiblesPlugin(
[space, hardBreak, paragraphInvisible, headingInvisible],
[hardBreak, paragraphInvisible, headingInvisible],
{
shouldShowInvisibles: false,
},
Expand Down
3 changes: 1 addition & 2 deletions app/controllers/regulatory-statements/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,6 @@ import {
hardBreak,
heading as headingInvisible,
paragraph as paragraphInvisible,
space,
} from '@lblod/ember-rdfa-editor/plugins/invisibles';
import {
tableOfContentsView,
Expand Down Expand Up @@ -175,7 +174,7 @@ export default class RegulatoryStatementsRoute extends Controller {
tableKeymap,
this.citationPlugin,
createInvisiblesPlugin(
[space, hardBreak, paragraphInvisible, headingInvisible],
[hardBreak, paragraphInvisible, headingInvisible],
{
shouldShowInvisibles: false,
},
Expand Down

0 comments on commit e4742aa

Please sign in to comment.