Welcome to mirror list, hosted at ThFree Co, Russian Federation.

toolbar_link_button_spec.js.snap « __snapshots__ « components « content_editor « frontend « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 178c7d749c81b42c025bc436810cfa9406a64b4c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// Jest Snapshot v1, https://goo.gl/fbAQLP

exports[`content_editor/components/toolbar_link_button renders dropdown component 1`] = `
"<div class=\\"dropdown b-dropdown gl-new-dropdown btn-group\\" aria-label=\\"Insert link\\" title=\\"Insert link\\">
  <!----><button aria-haspopup=\\"true\\" aria-expanded=\\"false\\" type=\\"button\\" class=\\"btn dropdown-toggle btn-default btn-sm gl-button gl-dropdown-toggle btn-default-tertiary dropdown-icon-only\\">
    <!----> <svg data-testid=\\"link-icon\\" role=\\"img\\" aria-hidden=\\"true\\" class=\\"dropdown-icon gl-icon s16\\">
      <use href=\\"#link\\"></use>
    </svg> <span class=\\"gl-new-dropdown-button-text\\"></span> <svg data-testid=\\"chevron-down-icon\\" role=\\"img\\" aria-hidden=\\"true\\" class=\\"gl-button-icon dropdown-chevron gl-icon s16\\">
      <use href=\\"#chevron-down\\"></use>
    </svg></button>
  <ul role=\\"menu\\" tabindex=\\"-1\\" class=\\"dropdown-menu\\">
    <div class=\\"gl-new-dropdown-inner\\">
      <!---->
      <!---->
      <div class=\\"gl-new-dropdown-contents\\">
        <!---->
        <li role=\\"presentation\\" class=\\"gl-px-3!\\">
          <form tabindex=\\"-1\\" class=\\"b-dropdown-form gl-p-0\\">
            <div placeholder=\\"Link URL\\">
              <div role=\\"group\\" class=\\"input-group\\">
                <!---->
                <!----> <input type=\\"text\\" placeholder=\\"Link URL\\" class=\\"gl-form-input form-control\\">
                <div class=\\"input-group-append\\"><button type=\\"button\\" class=\\"btn btn-confirm btn-md gl-button\\">
                    <!---->
                    <!----> <span class=\\"gl-button-text\\">Apply</span></button></div>
                <!---->
              </div>
            </div>
          </form>
        </li>
        <li role=\\"presentation\\" class=\\"gl-new-dropdown-divider\\">
          <hr role=\\"separator\\" aria-orientation=\\"horizontal\\" class=\\"dropdown-divider\\">
        </li>
        <li role=\\"presentation\\" class=\\"gl-new-dropdown-item\\"><button role=\\"menuitem\\" type=\\"button\\" class=\\"dropdown-item\\">
            <!---->
            <!---->
            <!---->
            <div class=\\"gl-new-dropdown-item-text-wrapper\\">
              <p class=\\"gl-new-dropdown-item-text-primary\\">
                Upload file
              </p>
              <!---->
            </div>
            <!---->
          </button></li> <input type=\\"file\\" name=\\"content_editor_attachment\\" class=\\"gl-display-none\\">
      </div>
      <!---->
    </div>
  </ul>
</div>"
`;