| 1 |
/** |
| 2 |
* JavaScript code for the "Edit" screen. |
| 3 |
* |
| 4 |
* @package TablePress |
| 5 |
* @subpackage Views JavaScript |
| 6 |
* @author Tobias Bäthge |
| 7 |
* @since 2.0.0 |
| 8 |
*/ |
| 9 |
|
| 10 |
/** |
| 11 |
* Load the default "Edit" screen sections. |
| 12 |
*/ |
| 13 |
import './edit/header-bar'; |
| 14 |
import './edit/table-information'; |
| 15 |
import './edit/table-manipulation'; |
| 16 |
import './edit/table-options'; |
| 17 |
import './edit/datatables-features'; |
| 18 |
import './edit/table-preview'; |
| 19 |
|
| 20 |
/** |
| 21 |
* Load the non-React "Edit" screen JavaScript code, mostly for the table data editor. |
| 22 |
*/ |
| 23 |
import './edit/editor'; |
| 24 |
import './edit/keyboard-shortcuts'; |
| 25 |
import './edit/screen-options'; |
| 26 |
|
| 27 |
/** |
| 28 |
* Internal dependencies. |
| 29 |
*/ |
| 30 |
import { initializeReactComponent } from './common/react-loader'; |
| 31 |
import Screen from './edit/screen'; |
| 32 |
|
| 33 |
initializeReactComponent( |
| 34 |
'tablepress-edit-screen', |
| 35 |
<Screen />, |
| 36 |
); |
| 37 |
|