index.js
43 lines
| 1 | import save1_8_0 from './1.8.0/save'; |
| 2 | |
| 3 | |
| 4 | const blockAttributes = { |
| 5 | heading: { |
| 6 | type: 'string', |
| 7 | source: 'html', |
| 8 | selector: 'dt', |
| 9 | }, |
| 10 | content: { |
| 11 | type: 'string', |
| 12 | source: 'html', |
| 13 | selector: 'dd', |
| 14 | }, |
| 15 | arrowFlag: { |
| 16 | type: 'string', |
| 17 | default: 'vk_flow-arrow-on', |
| 18 | }, |
| 19 | insertImage: { |
| 20 | type: 'string', |
| 21 | default: null, // no image by default! |
| 22 | }, |
| 23 | } |
| 24 | |
| 25 | /* |
| 26 | // v1.8.1 画像alt属性の追加に伴う属性の追加 |
| 27 | const blockAttributes2 = { |
| 28 | ...blockAttributes, |
| 29 | insertImageAlt: { |
| 30 | type: 'string', |
| 31 | default: null, |
| 32 | }, |
| 33 | } |
| 34 | */ |
| 35 | |
| 36 | const deprecated = [ |
| 37 | { |
| 38 | attributes: blockAttributes, |
| 39 | save: save1_8_0, |
| 40 | }, |
| 41 | ]; |
| 42 | export default deprecated; |
| 43 |