Guest User

Untitled

a guest
Apr 25th, 2018
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.93 KB | None | 0 0
  1. {
  2. "abe-data-array": {
  3. "prefix": "abe-data-array",
  4. "body": [
  5. "{{abe type='data' key='${1:key}' desc='${2:description}' source='[\"${3:red}\", \"green\", \"blue\"]' max-length='${4:1}' tab='${5:default}'}}",
  6. "$6"
  7. ],
  8. "description": "abe tag with array of color"
  9. },
  10. "abe-data-sql": {
  11. "prefix": "abe-data-sql",
  12. "body": [
  13. "{{abe type='data' key='${1:key}' desc='${2:description}' source='select ${3:*} from ../ where `abe_meta.template`=`${4:tpl_name}`' display='${5:title}' visible='${6:true}' editable='${7:true}' tab='${8:default}'}}",
  14. "$6"
  15. ],
  16. "description": "abe tag with sql select"
  17. },
  18. "abe-reference": {
  19. "prefix": "abe-reference",
  20. "body": [
  21. "{{abe type='data' key='${1:key}' desc='${2:description}' source='reference/${3:some}.json' display='${4:title}' visible='${6:true}' editable='${7:true}' tab='${8:default}'}}",
  22. "$9"
  23. ],
  24. "description": "abe tag for reference json"
  25. },
  26. "abe-each": {
  27. "prefix": "abe-each",
  28. "body": [
  29. "{{#each ${1:name}}}",
  30. ​"${2:}",
  31. "{{/each}}"
  32. ],
  33. "description": "abe each"
  34. },
  35. "abe-file": {
  36. "prefix": "abe-file",
  37. "body": [
  38. "{{abe type='file' filetype='${1:file_type}' key='${2:key}' desc='${3:description}' tab='${4:default}'}}",
  39. "$5"
  40. ],
  41. "description": "abe tag type file"
  42. },
  43. "abe-image": {
  44. "prefix": "abe-image",
  45. "body": [
  46. "{{abe type='image' key='${1:key}' desc='${2:description}' thumbs='${3:250x250}' tab='${4:default}'}}",
  47. "$5"
  48. ],
  49. "description": "abe tag type image"
  50. },
  51. "abe-link": {
  52. "prefix": "abe-link",
  53. "body": [
  54. "{{abe type='link' key='${1:key}' desc='${2:description}' tab='${3:default}'}}",
  55. "$4"
  56. ],
  57. "description": "abe tag type link"
  58. },
  59. "abe-rich": {
  60. "prefix": "abe-rich",
  61. "body": [
  62. "{{abe type='rich' key='${1:key}' desc='${2:description}' toolbar='${3:bold,italic,underline,strikethrough,forecolor,highlight,align,subscript,superscript,indent,insertList,removeFormat,insertLink,code,list,media,format,font,fontsize,smiley}' tab='${4:default}'}}",
  63. "$5"
  64. ],
  65. "description": "abe tag type rich"
  66. },
  67. "abe-slug": {
  68. "prefix": "abe-slug",
  69. "body": [
  70. "{{abe type='slug' source='${1:some-slug-or-variable}'}}",
  71. "$2"
  72. ],
  73. "description": "abe tag type slug"
  74. },
  75. "abe-text": {
  76. "prefix": "abe-text",
  77. "body": [
  78. "{{abe type='text' key='${1:key}' desc='${2:description}' tab='${3:default}'}}",
  79. "$4"
  80. ],
  81. "description": "abe tag type text"
  82. },
  83. "abe-textarea": {
  84. "prefix": "abe-textarea",
  85. "body": [
  86. "{{abe type='textarea' key='${1:key}' desc='${2:description}' tab='${3:default}'}}",
  87. "$4"
  88. ],
  89. "description": "abe tag type textarea"
  90. },
  91. "abe-translate": {
  92. "prefix": "abe-translate",
  93. "body": [
  94. "{{abe type='translate' source='${1:text}' locale='${2:lang}'}}",
  95. "$3"
  96. ],
  97. "description": "abe tag type translate"
  98. }
  99. }
Add Comment
Please, Sign In to add comment