Solution: add an action on the tag vc_edit_form_fields_after_render
.
add_action( 'vc_edit_form_fields_after_render', function() {
echo '<script src="' . AN_URL . 'test.js"></script>'; // Or something other
}, 9 );
In the functions.php
or equivalent.
(Indeed, the tag vc_edit_form_fields_after_render
is used by do_action( 'vc_edit_form_fields_after_render' )
which is located in js_composer\include\classes\editors\class-vc-edit-form-fields.php
. So what you type in your add_action
callable will be executed after, and only after, the user has opened the Edition pop-in presented in the OP message – this is what I was asking for).
Related Posts:
- Add Item to Custom TinyMCE Menu
- Strange gibberish JavaScript in Editor – site hacked?
- Close TinyMCE plugin window on click away
- Trouble adding JavaScript in visual editor (Sharpspring embed code)
- Custom wp.editor.initialize settings ignored
- JavaScript && operator in visual editor
- Popup box when Clicking on Insert into post button in wordpress
- wordpress 4.4 upgrade visual editor bullets select for not selected elements
- disable tags on wordpress text editor
- How to stop javascript code being broken when going into visual editor
- How to use WP switchEditors.switchto(this) JS function in your own script?
- Dynamically write in editor with Javascript
- addEventListener vs onclick
- How do I check if an array includes a value in JavaScript?
- JavaScript document.getElementById().value logs empty value
- What is console.log?
- window.onload vs document.onload
- Fetch: POST JSON data
- JavaScript hide/show element
- Copy array by value
- Compare two dates with JavaScript
- What’s the difference between event.stopPropagation and event.preventDefault?
- ReferenceError: fetch is not defined
- In reactJS, how to copy text to clipboard?
- SyntaxError: Adjacent JSX elements must be wrapped in an enclosing tag
- Uncaught SyntaxError: Invalid or unexpected token
- JavaScript TypeError: Cannot read property ‘style’ of null
- How to import image (.svg, .png ) in a React Component
- How do I embed PHP code in JavaScript?
- Make javascript alert Yes/No Instead of Ok/Cancel
- How to create a dialog with “yes” and “no” options
- Adding images to a Bootstrap Carousel with AJAX
- XMLHttpRequest cannot load XXX No ‘Access-Control-Allow-Origin’ header
- Uncaught TypeError: Cannot read property ‘props’ of null
- How to handle the `onKeyPress` event in ReactJS?
- ES6: Create Strings using Template Literals – Freecodecamp
- Youtube api – stop video
- Uncaught TypeError: Cannot read property ‘msie’ of undefined – jQuery tools
- Angular JS Uncaught Error: [$injector:modulerr]
- How do I convert an integer to binary in JavaScript?
- What does window.jQuery and window.$ mean?
- How to change date format in JavaScript
- OnChange event handler for radio button (INPUT type=”radio”) doesn’t work as one value
- Convert CSV data into JSON format using Javascript
- Can not solve: Geocode was not successful for the following reason: OVER_QUERY_LIMIT
- How to set Angular 4 background image?
- React-Router : What is the purpose of IndexRoute?
- ReactJS – .JS vs .JSX
- How to convert date to timestamp?
- ReactJS: Maximum update depth exceeded error
- React, Uncaught ReferenceError: ReactDOM is not defined
- How to implement “select all” check box in HTML?
- JQuery get the title of a button
- How to open a URL using PHP?
- Trying to load jquery into tampermonkey script
- Atom JavaScript Autocomplete
- How to format a UTC date as a `YYYY-MM-DD hh:mm:ss` string using NodeJS?
- JavaScript button onclick not working
- Invariant Violation: _registerComponent(…): Target container is not a DOM element
- How to count string occurrence in string?
- How to set text color for my d3 chart title?
- Defining a HTML template to append using JQuery
- How do I bind to list of checkbox values with AngularJS?
- Wildcard string comparison in Javascript
- jQuery select option elements by value
- How to change cursor from pointer to finger using jQuery?
- How to get value in an object’s key using a variable referencing that key?
- Button that refreshes the page on click
- jQuery equivalent of body onLoad
- Replace spaces with dashes and make all letters lower-case
- How to make `setInterval` behave more in sync, or how to use `setTimeout` instead?
- Adding Google Translate to a web site
- How do I include js without register/enqueue?
- wp_localize_script with boolean and init
- WordPress loads whole jQuery UI library
- What is the Javascript event for an item being added to the cart in Woocommerce?
- How to remove p / br elements from gutenbergs editor
- contact form 7 repeatable fields calculations [closed]
- Listening change event of taxonomy term checkboxes in Gutenberg editor
- Adding inline JavaScript encoding issue
- a child theme not de-registering a patent javascript file
- Accessing theme customizer farbtastic object instances
- Customizer JS API: Defining active_callback for a section
- Don’t allow JavaScript in the content area
- How to locate a Javascript? It is there in HTML but not in any file [closed]
- Using javascript on my site to create nested tabs
- CDATA removing new line in script tag in wordpress
- Get style and script file versions and use them while writing a cache manifest file
- Save in localstorage and db and show it later
- How to run Javascript popup modal in a loop?
- Javascript working on jsfiddle but not wordpress site?
- Drodown list return issue
- Spans in gutenberg
- Get a default customizeAction text for a section using Customizer JS API
- Put dynamic Javascript in header after doing operations
- Adding javascript blocks to a single file and adding it to the header
- custom page url slug needs illegal ?id=1 for javascript
- Use one javascript variable into another javascript file
- How do i get an Inline style in Gutenberg Block show up in front end?
- javscript that updates div in a single wordpress page