Sha256: b94fed1a251d562e94d4a1949b1b91bca9ffcd2a88ef16be6bbdc394d20a9a71

Contents?: true

Size: 1.13 KB

Versions: 10

Compression:

Stored size: 1.13 KB

Contents

import itBehavesLikeBasicToolbarStyling from "src/decidim/editor/test/toolbar/shared/behaves_like_basic_styling";
import itBehavesLikeBasicToolbarFormatting from "src/decidim/editor/test/toolbar/shared/behaves_like_basic_formatting";
import itBehavesLikeBasicToolbarList from "src/decidim/editor/test/toolbar/shared/behaves_like_basic_list";
import itBehavesLikeBasicToolbarBlock from "src/decidim/editor/test/toolbar/shared/behaves_like_basic_block";
import itBehavesLikeBasicToolbarLink from "src/decidim/editor/test/toolbar/shared/behaves_like_basic_link";
import itBehavesLikeBasicToolbarIndent from "src/decidim/editor/test/toolbar/shared/behaves_like_basic_indent";

export default (ctx) => {
  ctx.prosemirror = null;

  describe("basic toolbar controls", () => {
    beforeEach(() => {
      ctx.prosemirror = ctx.editorContainer.querySelector(".editor-input .ProseMirror");
    });

    itBehavesLikeBasicToolbarStyling(ctx);
    itBehavesLikeBasicToolbarFormatting(ctx);
    itBehavesLikeBasicToolbarList(ctx);
    itBehavesLikeBasicToolbarBlock(ctx);
    itBehavesLikeBasicToolbarLink(ctx);
    itBehavesLikeBasicToolbarIndent(ctx);
  });
};

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
decidim-core-0.29.1 app/packs/src/decidim/editor/test/toolbar/shared/behaves_like_basic.js
decidim-core-0.28.4 app/packs/src/decidim/editor/test/toolbar/shared/behaves_like_basic.js
decidim-core-0.29.0 app/packs/src/decidim/editor/test/toolbar/shared/behaves_like_basic.js
decidim-core-0.28.3 app/packs/src/decidim/editor/test/toolbar/shared/behaves_like_basic.js
decidim-core-0.29.0.rc4 app/packs/src/decidim/editor/test/toolbar/shared/behaves_like_basic.js
decidim-core-0.29.0.rc3 app/packs/src/decidim/editor/test/toolbar/shared/behaves_like_basic.js
decidim-core-0.29.0.rc2 app/packs/src/decidim/editor/test/toolbar/shared/behaves_like_basic.js
decidim-core-0.29.0.rc1 app/packs/src/decidim/editor/test/toolbar/shared/behaves_like_basic.js
decidim-core-0.28.2 app/packs/src/decidim/editor/test/toolbar/shared/behaves_like_basic.js
decidim-core-0.28.1 app/packs/src/decidim/editor/test/toolbar/shared/behaves_like_basic.js