File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 22
33⚠️ This package is under active development
44
5- <!-- [](https://packagist.org/packages/idf/nova-unlayer-field)-->
6- <!-- [](https://packagist.org/packages/idf/nova-unlayer-field)-->
5+ [ ![ Latest Stable Version] ( https://poser.pugx.org/idf/nova-unlayer-field/v/stable )] ( https://packagist.org/packages/idf/nova-unlayer-field )
6+ [ ![ Total Downloads] ( https://poser.pugx.org/idf/nova-unlayer-field/downloads )] ( https://packagist.org/packages/idf/nova-unlayer-field )
77
88Adds a Laravel Nova field for Unlayer to compose emails and landing pages.
99
10+ ![ image] ( https://p9.f1.n0.cdn.getcloudapp.com/items/04ugg6gN/Screen+Recording+2019-12-12+at+21.02.gif?v=f87d79deb34d097fbd890e933823a2f5 )
11+
1012## Installation
1113
1214You can install the package in to a Laravel app that uses [ Nova] ( https://nova.laravel.com ) via composer:
Original file line number Diff line number Diff line change 6161 : toggleButton .innerText = this .fullscreenButtonText .on ;
6262 },
6363
64- /*
64+ /**
6565 * Set the initial, internal value for the field.
6666 */
6767 setInitialValue () {
9393 unlayerScript .onload = onLoadCallback;
9494 document .head .appendChild (unlayerScript);
9595 },
96+
97+ /**
98+ * Init unlayer editor and add event listeners
99+ */
96100 initEditor () {
97101 const unlayerConfig = this .field .config ;
98102 unlayerConfig .id = this .containerId ;
You can’t perform that action at this time.
0 commit comments