├── .nvmrc ├── public ├── _redirects ├── favicon.ico └── index.html ├── babel.config.js ├── src ├── assets │ └── logo.png ├── vue-email-editor.ts ├── shims-vue.d.ts ├── main.ts ├── components │ ├── loadScript.ts │ ├── types.ts │ └── EmailEditor.vue ├── views │ └── Example.vue └── data │ └── sample.json ├── prettier.config.js ├── vue.config.js ├── .gitignore ├── tsconfig.json ├── vite.config.ts ├── package.json └── README.md /.nvmrc: -------------------------------------------------------------------------------- 1 | v20.15.0 -------------------------------------------------------------------------------- /public/_redirects: -------------------------------------------------------------------------------- 1 | /* /index.html 200 -------------------------------------------------------------------------------- /babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['@vue/cli-plugin-babel/preset'], 3 | }; 4 | -------------------------------------------------------------------------------- /public/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unlayer/vue-email-editor/HEAD/public/favicon.ico -------------------------------------------------------------------------------- /src/assets/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/unlayer/vue-email-editor/HEAD/src/assets/logo.png -------------------------------------------------------------------------------- /src/vue-email-editor.ts: -------------------------------------------------------------------------------- 1 | import EmailEditor from './components/EmailEditor.vue'; 2 | export { EmailEditor }; 3 | -------------------------------------------------------------------------------- /prettier.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | singleQuote: true, 3 | arrowParens: 'always', 4 | trailingComma: 'es5', 5 | }; 6 | -------------------------------------------------------------------------------- /vue.config.js: -------------------------------------------------------------------------------- 1 | const { defineConfig } = require('@vue/cli-service'); 2 | module.exports = defineConfig({ 3 | transpileDependencies: true, 4 | }); 5 | -------------------------------------------------------------------------------- /src/shims-vue.d.ts: -------------------------------------------------------------------------------- 1 | /* eslint-disable */ 2 | declare module '*.vue' { 3 | import type { DefineComponent } from 'vue' 4 | const component: DefineComponent<{}, {}, any> 5 | export default component 6 | } 7 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | node_modules 3 | /dist 4 | 5 | # local env files 6 | .env.local 7 | .env.*.local 8 | 9 | # Log files 10 | npm-debug.log* 11 | yarn-debug.log* 12 | yarn-error.log* 13 | 14 | # Editor directories and files 15 | .idea 16 | .vscode 17 | *.suo 18 | *.ntvs* 19 | *.njsproj 20 | *.sln 21 | *.sw* 22 | -------------------------------------------------------------------------------- /src/main.ts: -------------------------------------------------------------------------------- 1 | // @ts-ignore 2 | import { createApp } from 'vue/dist/vue.esm-bundler.js'; 3 | import { createRouter, createWebHistory } from 'vue-router'; 4 | 5 | import Example from './views/Example.vue'; 6 | 7 | const routes = [ 8 | { path: '/', component: Example }, 9 | ]; 10 | 11 | const router = createRouter({ 12 | history: createWebHistory(), 13 | routes, 14 | }); 15 | 16 | const app = createApp({}); 17 | 18 | app.use(router); 19 | app.mount('#app'); 20 | 21 | export default app; 22 | -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- 1 | { 2 | "compilerOptions": { 3 | "allowJs": true, 4 | "target": "ESNext", 5 | "module": "ESNext", 6 | "moduleResolution": "node", 7 | "lib": ["ESNext", "DOM"], 8 | "strict": true, 9 | "declaration": true, 10 | "declarationDir": "./dist", 11 | "emitDeclarationOnly": true, 12 | "allowSyntheticDefaultImports": true, 13 | "esModuleInterop": true, 14 | "experimentalDecorators": true, 15 | "resolveJsonModule": true, 16 | "skipLibCheck": true, 17 | }, 18 | "include": [ 19 | "src/*", 20 | "src/components/*", 21 | "src/vue-email-editor.ts", 22 | "node_modules/unlayer-types/embed.d.ts" 23 | ], 24 | } -------------------------------------------------------------------------------- /public/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 |From $1999 or $166.58/mo. for 12 mo.
", 170 | "_override": { 171 | "mobile": { 172 | "fontSize": "14px" 173 | } 174 | } 175 | } 176 | } 177 | ], 178 | "values": { 179 | "_meta": { 180 | "htmlID": "u_column_1", 181 | "htmlClassNames": "u_column" 182 | }, 183 | "border": {}, 184 | "padding": "0px", 185 | "backgroundColor": "" 186 | } 187 | } 188 | ], 189 | "values": { 190 | "displayCondition": null, 191 | "columns": false, 192 | "backgroundColor": "", 193 | "columnsBackgroundColor": "", 194 | "backgroundImage": { 195 | "url": "", 196 | "fullWidth": true, 197 | "repeat": "no-repeat", 198 | "size": "custom", 199 | "position": "center" 200 | }, 201 | "padding": "0px", 202 | "anchor": "", 203 | "hideDesktop": false, 204 | "_meta": { 205 | "htmlID": "u_row_1", 206 | "htmlClassNames": "u_row" 207 | }, 208 | "selectable": true, 209 | "draggable": true, 210 | "duplicatable": true, 211 | "deletable": true, 212 | "hideable": true 213 | } 214 | }, 215 | { 216 | "id": "A-f41NTazI", 217 | "cells": [ 218 | 1, 219 | 1 220 | ], 221 | "columns": [ 222 | { 223 | "id": "SfLBIwDbWU", 224 | "contents": [ 225 | { 226 | "id": "vjfsdzgJRX", 227 | "type": "button", 228 | "values": { 229 | "containerPadding": "10px", 230 | "anchor": "", 231 | "href": { 232 | "name": "web", 233 | "values": { 234 | "href": "", 235 | "target": "_blank" 236 | } 237 | }, 238 | "buttonColors": { 239 | "color": "#FFFFFF", 240 | "backgroundColor": "#0071e3", 241 | "hoverColor": "#FFFFFF", 242 | "hoverBackgroundColor": "#3AAEE0" 243 | }, 244 | "size": { 245 | "autoWidth": true, 246 | "width": "100%" 247 | }, 248 | "fontSize": "17px", 249 | "textAlign": "right", 250 | "lineHeight": "120%", 251 | "padding": "10px 20px", 252 | "border": {}, 253 | "borderRadius": "25px", 254 | "hideDesktop": false, 255 | "displayCondition": null, 256 | "_meta": { 257 | "htmlID": "u_content_button_2", 258 | "htmlClassNames": "u_content_button" 259 | }, 260 | "selectable": true, 261 | "draggable": true, 262 | "duplicatable": true, 263 | "deletable": true, 264 | "hideable": true, 265 | "text": "Buy", 266 | "calculatedWidth": 69, 267 | "calculatedHeight": 40, 268 | "_override": { 269 | "mobile": { 270 | "textAlign": "center" 271 | } 272 | } 273 | } 274 | } 275 | ], 276 | "values": { 277 | "_meta": { 278 | "htmlID": "u_column_2", 279 | "htmlClassNames": "u_column" 280 | }, 281 | "border": {}, 282 | "padding": "0px", 283 | "borderRadius": "0px", 284 | "backgroundColor": "" 285 | } 286 | }, 287 | { 288 | "id": "oHGVnfFNrL", 289 | "contents": [ 290 | { 291 | "id": "X9LHO8t95H", 292 | "type": "text", 293 | "values": { 294 | "containerPadding": "20px", 295 | "anchor": "", 296 | "fontSize": "17px", 297 | "color": "#0071e3", 298 | "textAlign": "left", 299 | "lineHeight": "140%", 300 | "linkStyle": { 301 | "inherit": true, 302 | "linkColor": "#0000ee", 303 | "linkHoverColor": "#0000ee", 304 | "linkUnderline": true, 305 | "linkHoverUnderline": true 306 | }, 307 | "hideDesktop": false, 308 | "displayCondition": null, 309 | "_meta": { 310 | "htmlID": "u_content_text_3", 311 | "htmlClassNames": "u_content_text" 312 | }, 313 | "selectable": true, 314 | "draggable": true, 315 | "duplicatable": true, 316 | "deletable": true, 317 | "hideable": true, 318 | "text": "Learn more
", 319 | "_override": { 320 | "mobile": { 321 | "textAlign": "center" 322 | } 323 | } 324 | } 325 | } 326 | ], 327 | "values": { 328 | "_meta": { 329 | "htmlID": "u_column_3", 330 | "htmlClassNames": "u_column" 331 | }, 332 | "border": {}, 333 | "padding": "0px", 334 | "borderRadius": "0px", 335 | "backgroundColor": "" 336 | } 337 | } 338 | ], 339 | "values": { 340 | "displayCondition": null, 341 | "columns": false, 342 | "backgroundColor": "", 343 | "columnsBackgroundColor": "", 344 | "backgroundImage": { 345 | "url": "", 346 | "fullWidth": true, 347 | "repeat": "no-repeat", 348 | "size": "custom", 349 | "position": "center" 350 | }, 351 | "padding": "0px", 352 | "anchor": "", 353 | "hideDesktop": false, 354 | "_meta": { 355 | "htmlID": "u_row_2", 356 | "htmlClassNames": "u_row" 357 | }, 358 | "selectable": true, 359 | "draggable": true, 360 | "duplicatable": true, 361 | "deletable": true, 362 | "hideable": true 363 | } 364 | }, 365 | { 366 | "id": "Rd4HAvqb8t", 367 | "cells": [ 368 | 1 369 | ], 370 | "columns": [ 371 | { 372 | "id": "_t6kskqCwL", 373 | "contents": [ 374 | { 375 | "id": "AF8ZpW__0i", 376 | "type": "image", 377 | "values": { 378 | "containerPadding": "0px", 379 | "anchor": "", 380 | "src": { 381 | "url": "https://assets.unlayer.com/projects/139/1676495949571-hero_2x.jpg", 382 | "width": 1424, 383 | "height": 880 384 | }, 385 | "textAlign": "center", 386 | "altText": "", 387 | "action": { 388 | "name": "web", 389 | "values": { 390 | "href": "", 391 | "target": "_blank" 392 | } 393 | }, 394 | "hideDesktop": false, 395 | "displayCondition": null, 396 | "_meta": { 397 | "htmlID": "u_content_image_2", 398 | "htmlClassNames": "u_content_image" 399 | }, 400 | "selectable": true, 401 | "draggable": true, 402 | "duplicatable": true, 403 | "deletable": true, 404 | "hideable": true 405 | } 406 | }, 407 | { 408 | "id": "iEmfF6xJBD", 409 | "type": "text", 410 | "values": { 411 | "containerPadding": "10px", 412 | "anchor": "", 413 | "fontWeight": 700, 414 | "fontSize": "21px", 415 | "color": "#9d9d9d", 416 | "textAlign": "center", 417 | "lineHeight": "140%", 418 | "linkStyle": { 419 | "inherit": true, 420 | "linkColor": "#0000ee", 421 | "linkHoverColor": "#0000ee", 422 | "linkUnderline": true, 423 | "linkHoverUnderline": true 424 | }, 425 | "hideDesktop": false, 426 | "displayCondition": null, 427 | "_meta": { 428 | "htmlID": "u_content_text_4", 429 | "htmlClassNames": "u_content_text" 430 | }, 431 | "selectable": true, 432 | "draggable": true, 433 | "duplicatable": true, 434 | "deletable": true, 435 | "hideable": true, 436 | "text": "Supercharged by M2 Pro and M2 Max.
", 437 | "_override": { 438 | "mobile": { 439 | "lineHeight": "140%", 440 | "fontSize": "18px" 441 | } 442 | } 443 | } 444 | }, 445 | { 446 | "id": "usZCBV0vIV", 447 | "type": "text", 448 | "values": { 449 | "containerPadding": "10px", 450 | "anchor": "", 451 | "fontWeight": 700, 452 | "fontSize": "21px", 453 | "color": "#9d9d9d", 454 | "textAlign": "center", 455 | "lineHeight": "140%", 456 | "linkStyle": { 457 | "inherit": true, 458 | "linkColor": "#0000ee", 459 | "linkHoverColor": "#0000ee", 460 | "linkUnderline": true, 461 | "linkHoverUnderline": true 462 | }, 463 | "hideDesktop": false, 464 | "displayCondition": null, 465 | "_meta": { 466 | "htmlID": "u_content_text_7", 467 | "htmlClassNames": "u_content_text" 468 | }, 469 | "selectable": true, 470 | "draggable": true, 471 | "duplicatable": true, 472 | "deletable": true, 473 | "hideable": true, 474 | "text": "Up to 22 hours of battery life.
", 475 | "_override": { 476 | "mobile": { 477 | "fontSize": "18px" 478 | } 479 | } 480 | } 481 | }, 482 | { 483 | "id": "GvsqJNYPRO", 484 | "type": "text", 485 | "values": { 486 | "containerPadding": "10px", 487 | "anchor": "", 488 | "fontWeight": 700, 489 | "fontSize": "21px", 490 | "color": "#9d9d9d", 491 | "textAlign": "center", 492 | "lineHeight": "140%", 493 | "linkStyle": { 494 | "inherit": true, 495 | "linkColor": "#0000ee", 496 | "linkHoverColor": "#0000ee", 497 | "linkUnderline": true, 498 | "linkHoverUnderline": true 499 | }, 500 | "hideDesktop": false, 501 | "displayCondition": null, 502 | "_meta": { 503 | "htmlID": "u_content_text_6", 504 | "htmlClassNames": "u_content_text" 505 | }, 506 | "selectable": true, 507 | "draggable": true, 508 | "duplicatable": true, 509 | "deletable": true, 510 | "hideable": true, 511 | "text": "Stunning Liquid Retina XDR display.
", 512 | "_override": { 513 | "mobile": { 514 | "fontSize": "18px" 515 | } 516 | } 517 | } 518 | }, 519 | { 520 | "id": "T_w1lypU3k", 521 | "type": "text", 522 | "values": { 523 | "containerPadding": "10px", 524 | "anchor": "", 525 | "fontWeight": 700, 526 | "fontSize": "21px", 527 | "color": "#9d9d9d", 528 | "textAlign": "center", 529 | "lineHeight": "140%", 530 | "linkStyle": { 531 | "inherit": true, 532 | "linkColor": "#0000ee", 533 | "linkHoverColor": "#0000ee", 534 | "linkUnderline": true, 535 | "linkHoverUnderline": true 536 | }, 537 | "hideDesktop": false, 538 | "displayCondition": null, 539 | "_meta": { 540 | "htmlID": "u_content_text_5", 541 | "htmlClassNames": "u_content_text" 542 | }, 543 | "selectable": true, 544 | "draggable": true, 545 | "duplicatable": true, 546 | "deletable": true, 547 | "hideable": true, 548 | "text": "All the ports you need and faster Wi-Fi 6E.3
", 549 | "_override": { 550 | "mobile": { 551 | "fontSize": "18px" 552 | } 553 | } 554 | } 555 | } 556 | ], 557 | "values": { 558 | "_meta": { 559 | "htmlID": "u_column_4", 560 | "htmlClassNames": "u_column" 561 | }, 562 | "border": {}, 563 | "padding": "0px", 564 | "borderRadius": "0px", 565 | "backgroundColor": "" 566 | } 567 | } 568 | ], 569 | "values": { 570 | "displayCondition": null, 571 | "columns": false, 572 | "backgroundColor": "", 573 | "columnsBackgroundColor": "", 574 | "backgroundImage": { 575 | "url": "", 576 | "fullWidth": true, 577 | "repeat": "no-repeat", 578 | "size": "custom", 579 | "position": "center" 580 | }, 581 | "padding": "15px 15px 70px", 582 | "anchor": "", 583 | "hideDesktop": false, 584 | "_meta": { 585 | "htmlID": "u_row_3", 586 | "htmlClassNames": "u_row" 587 | }, 588 | "selectable": true, 589 | "draggable": true, 590 | "duplicatable": true, 591 | "deletable": true, 592 | "hideable": true 593 | } 594 | }, 595 | { 596 | "id": "Wlvn-fimOW", 597 | "cells": [ 598 | 1 599 | ], 600 | "columns": [ 601 | { 602 | "id": "EmTZshrUgj", 603 | "contents": [ 604 | { 605 | "id": "KXAX-ozp-i", 606 | "type": "heading", 607 | "values": { 608 | "containerPadding": "10px", 609 | "anchor": "", 610 | "headingType": "h1", 611 | "fontSize": "32px", 612 | "color": "#ffffff", 613 | "textAlign": "center", 614 | "lineHeight": "120%", 615 | "linkStyle": { 616 | "inherit": true, 617 | "linkColor": "#0000ee", 618 | "linkHoverColor": "#0000ee", 619 | "linkUnderline": true, 620 | "linkHoverUnderline": true 621 | }, 622 | "hideDesktop": false, 623 | "displayCondition": null, 624 | "_meta": { 625 | "htmlID": "u_content_heading_3", 626 | "htmlClassNames": "u_content_heading" 627 | }, 628 | "selectable": true, 629 | "draggable": true, 630 | "duplicatable": true, 631 | "deletable": true, 632 | "hideable": true, 633 | "text": "Why Apple is the best placeGet credit toward
\na new Mac.
" 718 | } 719 | }, 720 | { 721 | "id": "RDIKTy_DOp", 722 | "type": "text", 723 | "values": { 724 | "containerPadding": "10px", 725 | "anchor": "", 726 | "textAlign": "center", 727 | "lineHeight": "150%", 728 | "linkStyle": { 729 | "inherit": true, 730 | "linkColor": "#0000ee", 731 | "linkHoverColor": "#0000ee", 732 | "linkUnderline": true, 733 | "linkHoverUnderline": true 734 | }, 735 | "hideDesktop": false, 736 | "displayCondition": null, 737 | "_meta": { 738 | "htmlID": "u_content_text_9", 739 | "htmlClassNames": "u_content_text" 740 | }, 741 | "selectable": true, 742 | "draggable": true, 743 | "duplicatable": true, 744 | "deletable": true, 745 | "hideable": true, 746 | "text": "With Apple Trade In, just give us your eligible Mac and get credit for a new one. It’s good for you and the planet.
" 747 | } 748 | }, 749 | { 750 | "id": "tnH6A8J6sD", 751 | "type": "text", 752 | "values": { 753 | "containerPadding": "10px", 754 | "anchor": "", 755 | "fontSize": "14px", 756 | "color": "#0071e3", 757 | "textAlign": "center", 758 | "lineHeight": "140%", 759 | "linkStyle": { 760 | "inherit": true, 761 | "linkColor": "#0000ee", 762 | "linkHoverColor": "#0000ee", 763 | "linkUnderline": true, 764 | "linkHoverUnderline": true 765 | }, 766 | "hideDesktop": false, 767 | "displayCondition": null, 768 | "_meta": { 769 | "htmlID": "u_content_text_10", 770 | "htmlClassNames": "u_content_text" 771 | }, 772 | "selectable": true, 773 | "draggable": true, 774 | "duplicatable": true, 775 | "deletable": true, 776 | "hideable": true, 777 | "text": "Find your trade-in value
" 778 | } 779 | } 780 | ], 781 | "values": { 782 | "_meta": { 783 | "htmlID": "u_column_6", 784 | "htmlClassNames": "u_column" 785 | }, 786 | "border": {}, 787 | "padding": "33px", 788 | "borderRadius": "0px", 789 | "backgroundColor": "" 790 | } 791 | }, 792 | { 793 | "id": "jGDnuQs-ho", 794 | "contents": [ 795 | { 796 | "id": "Wbvl_87V-4", 797 | "type": "image", 798 | "values": { 799 | "containerPadding": "0px", 800 | "anchor": "", 801 | "src": { 802 | "url": "https://assets.unlayer.com/projects/139/1676496418898-credit_mac_2x.jpg", 803 | "width": 712, 804 | "height": 550 805 | }, 806 | "textAlign": "center", 807 | "altText": "", 808 | "action": { 809 | "name": "web", 810 | "values": { 811 | "href": "", 812 | "target": "_blank" 813 | } 814 | }, 815 | "hideDesktop": false, 816 | "displayCondition": null, 817 | "_meta": { 818 | "htmlID": "u_content_image_3", 819 | "htmlClassNames": "u_content_image" 820 | }, 821 | "selectable": true, 822 | "draggable": true, 823 | "duplicatable": true, 824 | "deletable": true, 825 | "hideable": true 826 | } 827 | } 828 | ], 829 | "values": { 830 | "_meta": { 831 | "htmlID": "u_column_7", 832 | "htmlClassNames": "u_column" 833 | }, 834 | "border": {}, 835 | "padding": "0px", 836 | "borderRadius": "0px", 837 | "backgroundColor": "" 838 | } 839 | } 840 | ], 841 | "values": { 842 | "displayCondition": null, 843 | "columns": false, 844 | "backgroundColor": "#1d1d1f", 845 | "columnsBackgroundColor": "#000000", 846 | "backgroundImage": { 847 | "url": "", 848 | "fullWidth": true, 849 | "repeat": "no-repeat", 850 | "size": "custom", 851 | "position": "center" 852 | }, 853 | "padding": "5px", 854 | "anchor": "", 855 | "hideDesktop": false, 856 | "_meta": { 857 | "htmlID": "u_row_5", 858 | "htmlClassNames": "u_row" 859 | }, 860 | "selectable": true, 861 | "draggable": true, 862 | "duplicatable": true, 863 | "deletable": true, 864 | "hideable": true 865 | } 866 | }, 867 | { 868 | "id": "xsDeI6ThVX", 869 | "cells": [ 870 | 1, 871 | 1 872 | ], 873 | "columns": [ 874 | { 875 | "id": "PtkZbFNtjL", 876 | "contents": [ 877 | { 878 | "id": "JZtislN2W7", 879 | "type": "text", 880 | "values": { 881 | "containerPadding": "10px", 882 | "anchor": "", 883 | "fontSize": "24px", 884 | "textAlign": "center", 885 | "lineHeight": "120%", 886 | "linkStyle": { 887 | "inherit": true, 888 | "linkColor": "#0000ee", 889 | "linkHoverColor": "#0000ee", 890 | "linkUnderline": true, 891 | "linkHoverUnderline": true 892 | }, 893 | "hideDesktop": false, 894 | "displayCondition": null, 895 | "_meta": { 896 | "htmlID": "u_content_text_11", 897 | "htmlClassNames": "u_content_text" 898 | }, 899 | "selectable": true, 900 | "draggable": true, 901 | "duplicatable": true, 902 | "deletable": true, 903 | "hideable": true, 904 | "text": "Apple Card Monthly Installments.
" 905 | } 906 | }, 907 | { 908 | "id": "9rqc5f7Vsk", 909 | "type": "text", 910 | "values": { 911 | "containerPadding": "10px", 912 | "anchor": "", 913 | "textAlign": "center", 914 | "lineHeight": "150%", 915 | "linkStyle": { 916 | "inherit": true, 917 | "linkColor": "#0000ee", 918 | "linkHoverColor": "#0000ee", 919 | "linkUnderline": true, 920 | "linkHoverUnderline": true 921 | }, 922 | "hideDesktop": false, 923 | "displayCondition": null, 924 | "_meta": { 925 | "htmlID": "u_content_text_24", 926 | "htmlClassNames": "u_content_text" 927 | }, 928 | "selectable": true, 929 | "draggable": true, 930 | "duplicatable": true, 931 | "deletable": true, 932 | "hideable": true, 933 | "text": "Pay over time, interest-free when you choose to check out with Apple Card Monthly Installments.
" 934 | } 935 | }, 936 | { 937 | "id": "le8EzyAcDY", 938 | "type": "text", 939 | "values": { 940 | "containerPadding": "10px", 941 | "anchor": "", 942 | "fontSize": "14px", 943 | "color": "#0071e3", 944 | "textAlign": "center", 945 | "lineHeight": "140%", 946 | "linkStyle": { 947 | "inherit": true, 948 | "linkColor": "#0000ee", 949 | "linkHoverColor": "#0000ee", 950 | "linkUnderline": true, 951 | "linkHoverUnderline": true 952 | }, 953 | "hideDesktop": false, 954 | "displayCondition": null, 955 | "_meta": { 956 | "htmlID": "u_content_text_13", 957 | "htmlClassNames": "u_content_text" 958 | }, 959 | "selectable": true, 960 | "draggable": true, 961 | "duplicatable": true, 962 | "deletable": true, 963 | "hideable": true, 964 | "text": "Learn more
" 965 | } 966 | }, 967 | { 968 | "id": "EZmcoOSqCd", 969 | "type": "image", 970 | "values": { 971 | "containerPadding": "0px", 972 | "anchor": "", 973 | "src": { 974 | "url": "https://assets.unlayer.com/projects/139/1676497065877-apple_card_2x.jpg", 975 | "width": 700, 976 | "height": 390 977 | }, 978 | "textAlign": "center", 979 | "altText": "", 980 | "action": { 981 | "name": "web", 982 | "values": { 983 | "href": "", 984 | "target": "_blank" 985 | } 986 | }, 987 | "hideDesktop": false, 988 | "displayCondition": null, 989 | "_meta": { 990 | "htmlID": "u_content_image_7", 991 | "htmlClassNames": "u_content_image" 992 | }, 993 | "selectable": true, 994 | "draggable": true, 995 | "duplicatable": true, 996 | "deletable": true, 997 | "hideable": true 998 | } 999 | } 1000 | ], 1001 | "values": { 1002 | "_meta": { 1003 | "htmlID": "u_column_8", 1004 | "htmlClassNames": "u_column" 1005 | }, 1006 | "border": { 1007 | "borderTopColor": "#CCC", 1008 | "borderTopStyle": "solid", 1009 | "borderTopWidth": "0px", 1010 | "borderLeftColor": "#CCC", 1011 | "borderLeftStyle": "solid", 1012 | "borderLeftWidth": "0px", 1013 | "borderRightColor": "#1d1d1f", 1014 | "borderRightStyle": "solid", 1015 | "borderRightWidth": "5px", 1016 | "borderBottomColor": "#CCC", 1017 | "borderBottomStyle": "solid", 1018 | "borderBottomWidth": "0px" 1019 | }, 1020 | "padding": "33px 0px 0px", 1021 | "_override": { 1022 | "mobile": { 1023 | "border": { 1024 | "borderTopColor": "#CCC", 1025 | "borderTopStyle": "solid", 1026 | "borderTopWidth": "0px", 1027 | "borderLeftColor": "#CCC", 1028 | "borderLeftStyle": "solid", 1029 | "borderLeftWidth": "0px", 1030 | "borderRightColor": "#CCC", 1031 | "borderRightStyle": "solid", 1032 | "borderRightWidth": "0px", 1033 | "borderBottomColor": "#CCC", 1034 | "borderBottomStyle": "solid", 1035 | "borderBottomWidth": "0px" 1036 | } 1037 | } 1038 | }, 1039 | "borderRadius": "0px", 1040 | "backgroundColor": "" 1041 | } 1042 | }, 1043 | { 1044 | "id": "jAFMuhCh-p", 1045 | "contents": [ 1046 | { 1047 | "id": "tXUPtUC2gk", 1048 | "type": "text", 1049 | "values": { 1050 | "containerPadding": "10px", 1051 | "anchor": "", 1052 | "fontSize": "24px", 1053 | "textAlign": "center", 1054 | "lineHeight": "120%", 1055 | "linkStyle": { 1056 | "inherit": true, 1057 | "linkColor": "#0000ee", 1058 | "linkHoverColor": "#0000ee", 1059 | "linkUnderline": true, 1060 | "linkHoverUnderline": true 1061 | }, 1062 | "hideDesktop": false, 1063 | "displayCondition": null, 1064 | "_meta": { 1065 | "htmlID": "u_content_text_21", 1066 | "htmlClassNames": "u_content_text" 1067 | }, 1068 | "selectable": true, 1069 | "draggable": true, 1070 | "duplicatable": true, 1071 | "deletable": true, 1072 | "hideable": true, 1073 | "text": "Save on a new
\nMac with Apple
\neducation pricing.
" 1074 | } 1075 | }, 1076 | { 1077 | "id": "fUoTe1sYhQ", 1078 | "type": "text", 1079 | "values": { 1080 | "containerPadding": "10px", 1081 | "anchor": "", 1082 | "fontSize": "14px", 1083 | "color": "#0071e3", 1084 | "textAlign": "center", 1085 | "lineHeight": "140%", 1086 | "linkStyle": { 1087 | "inherit": true, 1088 | "linkColor": "#0000ee", 1089 | "linkHoverColor": "#0000ee", 1090 | "linkUnderline": true, 1091 | "linkHoverUnderline": true 1092 | }, 1093 | "hideDesktop": false, 1094 | "displayCondition": null, 1095 | "_meta": { 1096 | "htmlID": "u_content_text_23", 1097 | "htmlClassNames": "u_content_text" 1098 | }, 1099 | "selectable": true, 1100 | "draggable": true, 1101 | "duplicatable": true, 1102 | "deletable": true, 1103 | "hideable": true, 1104 | "text": "Shop
" 1105 | } 1106 | }, 1107 | { 1108 | "id": "ij9PdsfvZQ", 1109 | "type": "image", 1110 | "values": { 1111 | "containerPadding": "21px 0px 0px", 1112 | "anchor": "", 1113 | "src": { 1114 | "url": "https://assets.unlayer.com/projects/139/1676497143860-edu_mac_2x.jpg", 1115 | "width": 700, 1116 | "height": 390 1117 | }, 1118 | "textAlign": "center", 1119 | "altText": "", 1120 | "action": { 1121 | "name": "web", 1122 | "values": { 1123 | "href": "", 1124 | "target": "_blank" 1125 | } 1126 | }, 1127 | "hideDesktop": false, 1128 | "displayCondition": null, 1129 | "_meta": { 1130 | "htmlID": "u_content_image_8", 1131 | "htmlClassNames": "u_content_image" 1132 | }, 1133 | "selectable": true, 1134 | "draggable": true, 1135 | "duplicatable": true, 1136 | "deletable": true, 1137 | "hideable": true 1138 | } 1139 | } 1140 | ], 1141 | "values": { 1142 | "_meta": { 1143 | "htmlID": "u_column_9", 1144 | "htmlClassNames": "u_column" 1145 | }, 1146 | "border": { 1147 | "borderTopColor": "#CCC", 1148 | "borderTopStyle": "solid", 1149 | "borderTopWidth": "0px", 1150 | "borderLeftColor": "#1d1d1f", 1151 | "borderLeftStyle": "solid", 1152 | "borderLeftWidth": "5px", 1153 | "borderRightColor": "#CCC", 1154 | "borderRightStyle": "solid", 1155 | "borderRightWidth": "0px", 1156 | "borderBottomColor": "#CCC", 1157 | "borderBottomStyle": "solid", 1158 | "borderBottomWidth": "0px" 1159 | }, 1160 | "padding": "33px 0px 0px", 1161 | "_override": { 1162 | "mobile": { 1163 | "border": { 1164 | "borderTopColor": "#CCC", 1165 | "borderTopStyle": "solid", 1166 | "borderTopWidth": "0px", 1167 | "borderLeftColor": "#CCC", 1168 | "borderLeftStyle": "solid", 1169 | "borderLeftWidth": "0px", 1170 | "borderRightColor": "#CCC", 1171 | "borderRightStyle": "solid", 1172 | "borderRightWidth": "0px", 1173 | "borderBottomColor": "#CCC", 1174 | "borderBottomStyle": "solid", 1175 | "borderBottomWidth": "0px" 1176 | } 1177 | } 1178 | }, 1179 | "borderRadius": "0px", 1180 | "backgroundColor": "" 1181 | } 1182 | } 1183 | ], 1184 | "values": { 1185 | "displayCondition": null, 1186 | "columns": false, 1187 | "backgroundColor": "#1d1d1f", 1188 | "columnsBackgroundColor": "#000000", 1189 | "backgroundImage": { 1190 | "url": "", 1191 | "fullWidth": true, 1192 | "repeat": "no-repeat", 1193 | "size": "custom", 1194 | "position": "center" 1195 | }, 1196 | "padding": "5px", 1197 | "anchor": "", 1198 | "hideDesktop": false, 1199 | "_meta": { 1200 | "htmlID": "u_row_6", 1201 | "htmlClassNames": "u_row" 1202 | }, 1203 | "selectable": true, 1204 | "draggable": true, 1205 | "duplicatable": true, 1206 | "deletable": true, 1207 | "hideable": true 1208 | } 1209 | }, 1210 | { 1211 | "id": "GyxkKaDoVf", 1212 | "cells": [ 1213 | 1, 1214 | 1 1215 | ], 1216 | "columns": [ 1217 | { 1218 | "id": "_QiC12awFa", 1219 | "contents": [ 1220 | { 1221 | "id": "S_hqZ7HMSl", 1222 | "type": "image", 1223 | "values": { 1224 | "containerPadding": "0px", 1225 | "anchor": "", 1226 | "src": { 1227 | "url": "https://assets.unlayer.com/projects/139/1676496501021-specialist_2x.jpg", 1228 | "width": 712, 1229 | "height": 550 1230 | }, 1231 | "textAlign": "center", 1232 | "altText": "", 1233 | "action": { 1234 | "name": "web", 1235 | "values": { 1236 | "href": "", 1237 | "target": "_blank" 1238 | } 1239 | }, 1240 | "hideDesktop": false, 1241 | "displayCondition": null, 1242 | "_meta": { 1243 | "htmlID": "u_content_image_6", 1244 | "htmlClassNames": "u_content_image" 1245 | }, 1246 | "selectable": true, 1247 | "draggable": true, 1248 | "duplicatable": true, 1249 | "deletable": true, 1250 | "hideable": true 1251 | } 1252 | } 1253 | ], 1254 | "values": { 1255 | "_meta": { 1256 | "htmlID": "u_column_12", 1257 | "htmlClassNames": "u_column" 1258 | }, 1259 | "border": {}, 1260 | "padding": "0px", 1261 | "borderRadius": "0px", 1262 | "backgroundColor": "" 1263 | } 1264 | }, 1265 | { 1266 | "id": "tBvHHdYsbP", 1267 | "contents": [ 1268 | { 1269 | "id": "YBq_C6WCxM", 1270 | "type": "text", 1271 | "values": { 1272 | "containerPadding": "10px", 1273 | "anchor": "", 1274 | "fontSize": "24px", 1275 | "textAlign": "center", 1276 | "lineHeight": "120%", 1277 | "linkStyle": { 1278 | "inherit": true, 1279 | "linkColor": "#0000ee", 1280 | "linkHoverColor": "#0000ee", 1281 | "linkUnderline": true, 1282 | "linkHoverUnderline": true 1283 | }, 1284 | "hideDesktop": false, 1285 | "displayCondition": null, 1286 | "_meta": { 1287 | "htmlID": "u_content_text_18", 1288 | "htmlClassNames": "u_content_text" 1289 | }, 1290 | "selectable": true, 1291 | "draggable": true, 1292 | "duplicatable": true, 1293 | "deletable": true, 1294 | "hideable": true, 1295 | "text": "Shop one on one with
\na Mac Specialist.
" 1296 | } 1297 | }, 1298 | { 1299 | "id": "0DF1Wlu-f8", 1300 | "type": "text", 1301 | "values": { 1302 | "containerPadding": "10px", 1303 | "anchor": "", 1304 | "textAlign": "center", 1305 | "lineHeight": "150%", 1306 | "linkStyle": { 1307 | "inherit": true, 1308 | "linkColor": "#0000ee", 1309 | "linkHoverColor": "#0000ee", 1310 | "linkUnderline": true, 1311 | "linkHoverUnderline": true 1312 | }, 1313 | "hideDesktop": false, 1314 | "displayCondition": null, 1315 | "_meta": { 1316 | "htmlID": "u_content_text_19", 1317 | "htmlClassNames": "u_content_text" 1318 | }, 1319 | "selectable": true, 1320 | "draggable": true, 1321 | "duplicatable": true, 1322 | "deletable": true, 1323 | "hideable": true, 1324 | "text": "Our Specialists can help you choose, configure, and buy the perfect Mac.
" 1325 | } 1326 | }, 1327 | { 1328 | "id": "3PX82nq2MS", 1329 | "type": "text", 1330 | "values": { 1331 | "containerPadding": "10px", 1332 | "anchor": "", 1333 | "fontSize": "14px", 1334 | "color": "#0071e3", 1335 | "textAlign": "center", 1336 | "lineHeight": "140%", 1337 | "linkStyle": { 1338 | "inherit": true, 1339 | "linkColor": "#0000ee", 1340 | "linkHoverColor": "#0000ee", 1341 | "linkUnderline": true, 1342 | "linkHoverUnderline": true 1343 | }, 1344 | "hideDesktop": false, 1345 | "displayCondition": null, 1346 | "_meta": { 1347 | "htmlID": "u_content_text_20", 1348 | "htmlClassNames": "u_content_text" 1349 | }, 1350 | "selectable": true, 1351 | "draggable": true, 1352 | "duplicatable": true, 1353 | "deletable": true, 1354 | "hideable": true, 1355 | "text": "Find a store
" 1356 | } 1357 | } 1358 | ], 1359 | "values": { 1360 | "_meta": { 1361 | "htmlID": "u_column_13", 1362 | "htmlClassNames": "u_column" 1363 | }, 1364 | "border": {}, 1365 | "padding": "33px", 1366 | "borderRadius": "0px", 1367 | "backgroundColor": "" 1368 | } 1369 | } 1370 | ], 1371 | "values": { 1372 | "displayCondition": null, 1373 | "columns": false, 1374 | "backgroundColor": "#1d1d1f", 1375 | "columnsBackgroundColor": "#000000", 1376 | "backgroundImage": { 1377 | "url": "", 1378 | "fullWidth": true, 1379 | "repeat": "no-repeat", 1380 | "size": "custom", 1381 | "position": "center" 1382 | }, 1383 | "padding": "5px", 1384 | "anchor": "", 1385 | "hideDesktop": false, 1386 | "_meta": { 1387 | "htmlID": "u_row_8", 1388 | "htmlClassNames": "u_row" 1389 | }, 1390 | "selectable": true, 1391 | "draggable": true, 1392 | "duplicatable": true, 1393 | "deletable": true, 1394 | "hideable": true 1395 | } 1396 | }, 1397 | { 1398 | "id": "he9WBb_LIA", 1399 | "cells": [ 1400 | 1 1401 | ], 1402 | "columns": [ 1403 | { 1404 | "id": "9KxIY1TsoO", 1405 | "contents": [ 1406 | { 1407 | "id": "TJ6qaeBuzl", 1408 | "type": "menu", 1409 | "values": { 1410 | "containerPadding": "5px", 1411 | "anchor": "", 1412 | "menu": { 1413 | "items": [ 1414 | { 1415 | "key": "1676496571373", 1416 | "link": { 1417 | "name": "web", 1418 | "attrs": { 1419 | "href": "{{href}}", 1420 | "target": "{{target}}" 1421 | }, 1422 | "values": { 1423 | "href": "https://www.apple.com/", 1424 | "target": "_self" 1425 | } 1426 | }, 1427 | "text": "Shop Online" 1428 | }, 1429 | { 1430 | "key": "1676496577930", 1431 | "link": { 1432 | "name": "web", 1433 | "attrs": { 1434 | "href": "{{href}}", 1435 | "target": "{{target}}" 1436 | }, 1437 | "values": { 1438 | "href": "https://www.apple.com/", 1439 | "target": "_self" 1440 | } 1441 | }, 1442 | "text": "Find a Store" 1443 | }, 1444 | { 1445 | "key": "1676496581406", 1446 | "link": { 1447 | "name": "web", 1448 | "attrs": { 1449 | "href": "{{href}}", 1450 | "target": "{{target}}" 1451 | }, 1452 | "values": { 1453 | "href": "https://www.apple.com/", 1454 | "target": "_self" 1455 | } 1456 | }, 1457 | "text": "1-800-MY-APPLE" 1458 | }, 1459 | { 1460 | "key": "1676496588057", 1461 | "link": { 1462 | "name": "web", 1463 | "attrs": { 1464 | "href": "{{href}}", 1465 | "target": "{{target}}" 1466 | }, 1467 | "values": { 1468 | "href": "https://www.apple.com/", 1469 | "target": "_self" 1470 | } 1471 | }, 1472 | "text": "Get the Apple Store App" 1473 | } 1474 | ] 1475 | }, 1476 | "fontSize": "14px", 1477 | "textColor": "#424245", 1478 | "linkColor": "#d2d2d7", 1479 | "align": "center", 1480 | "layout": "horizontal", 1481 | "separator": "|", 1482 | "padding": "5px 10px", 1483 | "hideDesktop": false, 1484 | "displayCondition": null, 1485 | "_meta": { 1486 | "htmlID": "u_content_menu_1", 1487 | "htmlClassNames": "u_content_menu" 1488 | }, 1489 | "selectable": true, 1490 | "draggable": true, 1491 | "duplicatable": true, 1492 | "deletable": true, 1493 | "hideable": true, 1494 | "_override": { 1495 | "mobile": { 1496 | "layout": "vertical" 1497 | } 1498 | } 1499 | } 1500 | }, 1501 | { 1502 | "id": "mNBB5zCn71", 1503 | "type": "divider", 1504 | "values": { 1505 | "width": "100%", 1506 | "border": { 1507 | "borderTopWidth": "1px", 1508 | "borderTopStyle": "solid", 1509 | "borderTopColor": "#424245" 1510 | }, 1511 | "textAlign": "center", 1512 | "containerPadding": "10px", 1513 | "anchor": "", 1514 | "hideDesktop": false, 1515 | "displayCondition": null, 1516 | "_meta": { 1517 | "htmlID": "u_content_divider_1", 1518 | "htmlClassNames": "u_content_divider" 1519 | }, 1520 | "selectable": true, 1521 | "draggable": true, 1522 | "duplicatable": true, 1523 | "deletable": true, 1524 | "hideable": true 1525 | } 1526 | }, 1527 | { 1528 | "id": "bo4vg76emo", 1529 | "type": "text", 1530 | "values": { 1531 | "containerPadding": "10px", 1532 | "anchor": "", 1533 | "fontSize": "12px", 1534 | "color": "#86868b", 1535 | "textAlign": "left", 1536 | "lineHeight": "200%", 1537 | "linkStyle": { 1538 | "inherit": false, 1539 | "linkColor": "#d2d2d7", 1540 | "linkHoverColor": "#0000ee", 1541 | "linkUnderline": false, 1542 | "linkHoverUnderline": true, 1543 | "body": false 1544 | }, 1545 | "hideDesktop": false, 1546 | "displayCondition": null, 1547 | "_meta": { 1548 | "htmlID": "u_content_text_17", 1549 | "htmlClassNames": "u_content_text" 1550 | }, 1551 | "selectable": true, 1552 | "draggable": true, 1553 | "duplicatable": true, 1554 | "deletable": true, 1555 | "hideable": true, 1556 | "text": "If you reside in the U.S. territories, please call Goldman Sachs at 877-255-5923 with questions about Apple Card.
\nTM and © 2023 Apple Inc. One Apple Park Way, MS 96-DM, Cupertino, CA 95014.
\nAll Rights Reserved | Privacy Policy | My Apple ID
\nIf you prefer not to receive commercial email from Apple, or if you’ve changed your email address, please click here.
" 1557 | } 1558 | } 1559 | ], 1560 | "values": { 1561 | "_meta": { 1562 | "htmlID": "u_column_10", 1563 | "htmlClassNames": "u_column" 1564 | }, 1565 | "border": {}, 1566 | "padding": "0px 30px", 1567 | "borderRadius": "0px", 1568 | "backgroundColor": "" 1569 | } 1570 | } 1571 | ], 1572 | "values": { 1573 | "displayCondition": null, 1574 | "columns": false, 1575 | "backgroundColor": "#1d1d1f", 1576 | "columnsBackgroundColor": "", 1577 | "backgroundImage": { 1578 | "url": "", 1579 | "fullWidth": true, 1580 | "repeat": "no-repeat", 1581 | "size": "custom", 1582 | "position": "center" 1583 | }, 1584 | "padding": "10px 10px 50px", 1585 | "anchor": "", 1586 | "hideDesktop": false, 1587 | "_meta": { 1588 | "htmlID": "u_row_7", 1589 | "htmlClassNames": "u_row" 1590 | }, 1591 | "selectable": true, 1592 | "draggable": true, 1593 | "duplicatable": true, 1594 | "deletable": true, 1595 | "hideable": true 1596 | } 1597 | } 1598 | ], 1599 | "values": { 1600 | "popupPosition": "center", 1601 | "popupWidth": "600px", 1602 | "popupHeight": "auto", 1603 | "borderRadius": "10px", 1604 | "contentAlign": "center", 1605 | "contentVerticalAlign": "center", 1606 | "contentWidth": 700, 1607 | "fontFamily": { 1608 | "label": "Helvetica", 1609 | "value": "helvetica,sans-serif", 1610 | "url": "", 1611 | "weights": null, 1612 | "defaultFont": true 1613 | }, 1614 | "textColor": "#ffffff", 1615 | "popupBackgroundColor": "#FFFFFF", 1616 | "popupBackgroundImage": { 1617 | "url": "", 1618 | "fullWidth": true, 1619 | "repeat": "no-repeat", 1620 | "size": "cover", 1621 | "position": "center" 1622 | }, 1623 | "popupOverlay_backgroundColor": "rgba(0, 0, 0, 0.1)", 1624 | "popupCloseButton_position": "top-right", 1625 | "popupCloseButton_backgroundColor": "#DDDDDD", 1626 | "popupCloseButton_iconColor": "#000000", 1627 | "popupCloseButton_borderRadius": "0px", 1628 | "popupCloseButton_margin": "0px", 1629 | "popupCloseButton_action": { 1630 | "name": "close_popup", 1631 | "attrs": { 1632 | "onClick": "document.querySelector('.u-popup-container').style.display = 'none';" 1633 | } 1634 | }, 1635 | "backgroundColor": "#000000", 1636 | "backgroundImage": { 1637 | "url": "", 1638 | "fullWidth": true, 1639 | "repeat": "no-repeat", 1640 | "size": "custom", 1641 | "position": "center" 1642 | }, 1643 | "preheaderText": "", 1644 | "linkStyle": { 1645 | "body": true, 1646 | "linkColor": "#0071e3", 1647 | "linkHoverColor": "#0000ee", 1648 | "linkUnderline": true, 1649 | "linkHoverUnderline": true, 1650 | "inherit": false 1651 | }, 1652 | "_meta": { 1653 | "htmlID": "u_body", 1654 | "htmlClassNames": "u_body" 1655 | } 1656 | }, 1657 | "headers": [], 1658 | "footers": [] 1659 | }, 1660 | "schemaVersion": 12 1661 | } --------------------------------------------------------------------------------