xyc
2024-05-17 6b24f642b01cf3cd1be0d5833273fa2867d389e1
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
export default {
  select_lib: 'Select an image library',
  show_list: 'Show library list',
  import_single: 'Import single',
  import_multi: 'Import multiple',
  open: 'Open as new document',
  buttons: [
    {
      title: 'Image library'
    }
  ],
  imgLibs: [
    {
      name: 'Demo library (local)',
      url: '{path}imagelib/index{modularVersion}.html',
      description: 'Demonstration library for SVG-edit on this server'
    },
    {
      name: 'IAN Symbol Libraries',
      url: 'https://ian.umces.edu/symbols/catalog/svgedit/album_chooser.php?svgedit=3',
      description: 'Free library of illustrations'
    }
    // The site is no longer using our API, and they have added an
    //   `X-Frame-Options` header which prevents our usage cross-origin:
    // Getting messages like this in console:
    //   Refused to display 'https://openclipart.org/detail/307176/sign-bike' in a frame
    //   because it set 'X-Frame-Options' to 'sameorigin'.
    // url: 'https://openclipart.org/svgedit',
    // However, they do have a custom API which we are using here:
    /*
    {
      name: 'Openclipart',
      url: '{path}imagelib/openclipart{modularVersion}.html',
      description: 'Share and Use Images. Over 100,000 Public Domain SVG Images and Growing.'
    }
    */
  ]
};