@wordpress/components
Version:
UI components for WordPress.
90 lines (89 loc) • 1.44 kB
JavaScript
export default {
specialTokens: {
textEscaped: [ 'a b', 'i <3 tags', '1&2&3&4' ],
htmlEscaped: [
'a b',
'i <3 tags',
'1&2&3&4',
],
textUnescaped: [ 'a b', 'i <3 tags', '1&2&3&4' ],
htmlUnescaped: [
'a b',
'i <3 tags',
'1&2&3&4',
],
},
specialSuggestions: {
default: [
'the',
'of',
'and',
'to',
'a',
'in',
'for',
'is',
'on',
'that',
'by',
'this',
'with',
'i',
'you',
'it',
'not',
'or',
'be',
'are',
'from',
'at',
'as',
'your',
'all',
'have',
'new',
'more',
'an',
'was',
'we',
'associate',
'snake',
'pipes',
'sound',
],
textEscaped: [
'<3',
'Stuff & Things',
'Tags & Stuff',
'Tags & Stuff 2',
],
textUnescaped: [
'<3',
'Stuff & Things',
'Tags & Stuff',
'Tags & Stuff 2',
],
matchAmpersandUnescaped: [
[ 'Tags ', '& S', 'tuff' ],
[ 'Tags ', '& S', 'tuff 2' ],
],
matchAmpersandSequence: [
[ 'Tag', 's &', ' Stuff' ],
[ 'Tag', 's &', ' Stuff 2' ],
],
matchAmpersandEscaped: [],
},
matchingSuggestions: {
th: [
[ 'th', 'e' ],
[ 'th', 'at' ],
[ 'th', 'is' ],
[ 'wi', 'th' ],
],
so: [
[ 'so', 'und' ],
[ 'as', 'so', 'ciate' ],
],
at: [ [ 'at' ], [ 'th', 'at' ], [ 'associ', 'at', 'e' ] ],
},
};