index.js
36 lines
| 1 | import save1_3_9 from './1.3.9/save'; |
| 2 | import save1_76_2 from './1.76.2/save'; |
| 3 | const blockAttributes = { |
| 4 | heading: { |
| 5 | type: 'string', |
| 6 | source: 'html', |
| 7 | selector: 'dt', |
| 8 | }, |
| 9 | content: { |
| 10 | type: 'string', |
| 11 | }, |
| 12 | }; |
| 13 | |
| 14 | /* |
| 15 | // v1.60.0 質問・回答の表示切替の追加に伴う属性の追加 |
| 16 | const blockAttributes2 = { |
| 17 | ...blockAttributes, |
| 18 | showContent: { |
| 19 | type: 'string', |
| 20 | default: 'default', |
| 21 | }, |
| 22 | } |
| 23 | */ |
| 24 | |
| 25 | const deprecated = [ |
| 26 | { |
| 27 | attributes: blockAttributes, |
| 28 | save: save1_76_2, |
| 29 | }, |
| 30 | { |
| 31 | attributes: blockAttributes, |
| 32 | save: save1_3_9, |
| 33 | } |
| 34 | ]; |
| 35 | export default deprecated; |
| 36 |