index.js
42 lines
| 1 | import save000 from './0.0.0/save'; |
| 2 | import save001 from './0.0.1/save'; |
| 3 | import save002 from './0.0.2/save'; |
| 4 | import save0_58_6 from './0.58.6/save'; |
| 5 | |
| 6 | const blockAttributes = { |
| 7 | heading: { |
| 8 | type: 'string', |
| 9 | source: 'html', |
| 10 | selector: 'dt', |
| 11 | }, |
| 12 | content: { |
| 13 | type: 'string', |
| 14 | source: 'html', |
| 15 | selector: 'dd', |
| 16 | }, |
| 17 | }; |
| 18 | |
| 19 | const deprecated = [ |
| 20 | { |
| 21 | attributes: blockAttributes, |
| 22 | save: save000, |
| 23 | }, |
| 24 | { |
| 25 | attributes: blockAttributes, |
| 26 | save: save001, |
| 27 | }, |
| 28 | { |
| 29 | attributes: { |
| 30 | ...blockAttributes, |
| 31 | }, |
| 32 | save: save002, |
| 33 | }, |
| 34 | { |
| 35 | attributes: { |
| 36 | ...blockAttributes, |
| 37 | }, |
| 38 | save: save0_58_6, |
| 39 | }, |
| 40 | ]; |
| 41 | export default deprecated; |
| 42 |