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