index.js
24 lines
| 1 | import save1_95_2 from './1.95.2/save'; |
| 2 | |
| 3 | const deprecated = [ |
| 4 | { |
| 5 | targetVersion: 5, |
| 6 | attributes: { |
| 7 | color: { type: 'string', default: '' }, |
| 8 | linkUrl: { type: 'string', default: '' }, |
| 9 | linkTarget: { type: 'string', default: '' }, |
| 10 | tagName: { type: 'string', default: 'div' }, |
| 11 | }, |
| 12 | migrate: (attributes) => { |
| 13 | return { |
| 14 | ...attributes, |
| 15 | relAttribute: attributes.relAttribute || '', |
| 16 | linkDescription: attributes.linkDescription || '', |
| 17 | }; |
| 18 | }, |
| 19 | save: save1_95_2 |
| 20 | }, |
| 21 | ]; |
| 22 | |
| 23 | export default deprecated; |
| 24 |