PluginProbe ʕ •ᴥ•ʔ
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI / 3.5.3
Everest Forms – Contact Form, Payment Form, Quiz, Survey & Custom Form Builder with AI v3.5.3
3.5.3 3.5.2 3.5.1 3.5.0 3.4.8 3.4.7 3.4.6 1.1.0 1.1.1 1.1.2 1.1.3 1.1.4 1.1.5 1.1.5.1 1.1.6 1.1.7 1.1.8 1.1.9 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.3.0 1.3.1 1.3.2 1.3.3 1.3.4 1.4.0 1.4.1 1.4.2 1.4.3 1.4.4 1.4.5 1.4.6 1.4.7 1.4.8 1.4.9 1.5.0 1.5.1 1.5.10 1.5.2 1.5.3 1.5.4 1.5.5 1.5.6 1.5.7 1.5.8 1.5.9 1.6.0 1.6.1 1.6.2 1.6.3 1.6.4 1.6.5 1.6.6 1.6.6.1 1.6.7 1.7.0 1.7.0.1 1.7.0.2 1.7.0.3 1.7.1 1.7.2 1.7.2.1 1.7.2.2 1.7.3 1.7.4 1.7.5 1.7.5.1 1.7.5.2 1.7.6 1.7.7 1.7.7.1 1.7.7.2 1.7.8 1.7.9 1.8.0 1.8.0.1 1.8.1 1.8.2 1.8.2.1 1.8.2.2 1.8.2.3 1.8.3 1.8.4 1.8.5 1.8.6 1.8.7 1.8.8 1.8.9 1.9.0 1.9.0.1 1.9.1 1.9.2 1.9.3 1.9.4 1.9.4.1 1.9.5 1.9.6 1.9.7 1.9.8 1.9.9 2.0.0 2.0.0.1 2.0.1 2.0.2 2.0.3 2.0.3.1 2.0.4 2.0.4.1 2.0.5 2.0.6 2.0.7 2.0.8 2.0.8.1 2.0.9 3.0.0 3.0.0.1 3.0.1 3.0.2 3.0.3 3.0.3.1 3.0.4 3.0.4.1 3.0.4.2 3.0.5 3.0.5.1 3.0.5.2 3.0.6 3.0.6.1 3.0.7.1 3.0.8 3.0.8.1 3.0.9 3.0.9.1 3.0.9.2 3.0.9.3 3.0.9.4 3.0.9.5 3.1.0 3.1.1 3.1.2 3.2.0 3.2.1 3.2.2 3.2.3 3.2.4 3.2.5 3.2.6 3.3.0 3.4.0 3.4.1 3.4.2 3.4.2.1 3.4.3 3.4.4 3.4.5 trunk 1.0 1.0.1 1.0.2 1.0.3
everest-forms / assets / js / admin / shortcode-form-embed.js
everest-forms / assets / js / admin Last commit date
admin.js 1 month ago admin.min.js 1 month ago chart.js 2 years ago chart.min.js 1 year ago customize-controls.js 1 year ago customize-controls.min.js 1 year ago customize-preview.js 1 year ago customize-preview.min.js 1 year ago deactivation-feedback.js 2 years ago deactivation-feedback.min.js 2 years ago editor.js 8 years ago editor.min.js 5 years ago everest-forms-survey-polls-quiz-builder.js 2 years ago everest-forms-survey-polls-quiz-builder.min.js 2 years ago evf-admin-email.js 2 years ago evf-admin-email.min.js 1 year ago evf-clipboard.js 8 years ago evf-clipboard.min.js 8 years ago evf-enhanced-select.js 3 years ago evf-enhanced-select.min.js 2 years ago evf-file-uploader.js 2 years ago evf-file-uploader.min.js 2 years ago evf-setup.js 2 years ago evf-setup.min.js 2 years ago extensions.js 3 years ago extensions.min.js 2 years ago form-builder.js 6 days ago form-builder.min.js 1 month ago form-template-controller.js 3 years ago form-template-controller.min.js 3 years ago printThis.min.js 2 years ago progressbar.js 2 years ago progressbar.min.js 1 year ago randomColor.js 2 years ago randomColor.min.js 2 years ago settings.js 6 days ago settings.min.js 6 days ago shortcode-form-embed.js 2 years ago shortcode-form-embed.min.js 2 years ago tool-import-entries.js 2 years ago tool-import-entries.min.js 2 years ago tools.js 1 month ago tools.min.js 1 month ago upgrade.js 1 month ago upgrade.min.js 1 month ago
shortcode-form-embed.js
57 lines
1 jQuery(document).ready(function($){
2 var url = window.location.href;
3 var containsEverestForms = url.includes("form=everest-forms");
4 if (! containsEverestForms ) {
5 return;
6 }
7
8 var $dot = $( '<span class="everest-forms-shortcode-form-embed-dot">&nbsp;</span>' ),
9 anchor = isGutenberg() ? '.block-editor .edit-post-header' : '';
10
11 var content = '<div><h3>Add a Block</h3><p>Click the plus button, search for Everest Forms, click the block to<br>embed it. <a href="#" target="_blank" rel="noopener noreferrer">Learn More</a></p><i class="everest-forms-shortcode-form-embed-theme-tooltips-red-arrow"></i><button type="button" class="everest-forms-shortcode-form-embed-theme-done-btn">Done</button></div>'
12 var tooltipsterArgs = {
13 content : $( content ),
14 trigger : 'load',
15 interactive : true,
16 animationDuration: 0,
17 delay : 0,
18 theme : [ 'tooltipster-default', 'everest-forms-shortcode-form-embed-theme'],
19 side : isGutenberg ? 'bottom' : 'right',
20 distance : 3,
21 functionReady : function( instance, helper ) {
22
23 instance._$tooltip.on( 'click', 'button', function() {
24
25 instance.close();
26 $( '.everest-forms-shortcode-form-embed-dot' ).remove();
27 } );
28
29 instance.reposition();
30 },
31 };
32
33 if ( ! isGutenberg ) {
34 $dot.insertAfter( anchor ).tooltipster( tooltipsterArgs ).tooltipster( 'open' );
35 }
36
37 // The Gutenberg header can be loaded after the window load event.
38 // We have to wait until the Gutenberg heading is added to the DOM.
39 const closeAnchorListener = wp.data.subscribe( function() {
40
41 if ( ! $( anchor ).length ) {
42 return;
43 }
44
45 // Close the listener to avoid an infinite loop.
46 closeAnchorListener();
47
48 $dot.insertAfter( anchor ).tooltipster( tooltipsterArgs ).tooltipster( 'open' );
49 } );
50
51 function isGutenberg() {
52
53 return typeof wp !== 'undefined' && Object.prototype.hasOwnProperty.call( wp, 'blocks' );
54 }
55
56 })
57