PluginProbe
Visualizer – Tables & Charts Manager with Built-in AI Generator / 3.4.2
Visualizer – Tables & Charts Manager with Built-in AI Generator v3.4.2
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 3.0.5 3.0.6 3.0.7 3.0.8 3.0.9 3.1.0 3.1.1 3.1.2 3.1.3 3.10.0 3.10.1 3.10.10 3.10.11 3.10.12 3.10.13 3.10.14 3.10.15 3.10.2 3.10.3 All 149 releases
← All changes | classes/Visualizer/Render/Page/Update.php +4 -6 3.10.113.4.2 View file →
@@ -37,11 +37,8 @@
37 37 *
38 38 * @access protected
39 39 */
40 40 protected function _toHTML() {
41 - if ( $this->is_request_from_gutenberg() ) {
42 - return;
43 - }
44 41 echo '<!DOCTYPE html>';
45 42 echo '<html>';
46 43 echo '<head>';
47 44 echo '<script type="text/javascript">';
@@ -53,11 +50,12 @@
53 50 echo 'win.visualizer.charts.canvas.data = ', $this->data, ';';
54 51 if ( $this->settings ) {
55 52 echo 'win.visualizer.charts.canvas.settings = ', $this->settings, ';';
56 53 }
57 - echo 'win.vizUpdateChartPreview();';
54 + echo 'win.updateChartPreview();';
58 55
59 - // echo $this->updateEditorAndSettings();
56 + echo $this->updateEditorAndSettings();
57 +
60 58 echo '}';
61 59
62 60 do_action( 'visualizer_add_update_hook', $this->series, $this->data );
63 61
@@ -88,8 +86,8 @@
88 86 }
89 87
90 88 $sidebar = apply_filters( 'visualizer_get_sidebar', '', $this->id );
91 89
92 - return 'win.vizUpdateHTML(' . json_encode( array( 'html' => $editor ) ) . ', ' . json_encode( array( 'html' => $sidebar ) ) . ');';
90 + return 'win.updateHTML(' . json_encode( array( 'html' => $editor ) ) . ', ' . json_encode( array( 'html' => $sidebar ) ) . ');';
93 91 }
94 92
95 93 }