• HansiZ

    (@hansiz)


    I would like to automatically set the image width to 100% when a new image is added. More particularly:
    A site owner (me) is in the dashboard of a page.
    While modifying I add a new image using the “insert/edit image” button (provided by tinymce advanced) above the editor (Note: I am NOT using “add media”), thus specifying the location of the image via URL within the “insert/edit image” dialogue that pops up.
    I do not want to modify the image dimensions but just having the image width automatically set to 100% when clicking the “OK” button.

    The closest excerpt I could find:

    if ( $this->check_setting('image') && ! in_array( 'image', $plugins, true ) ) {
    			$plugins[] = 'image';
    		}

    within file:

    wordpress\wp-content\plugins\tinymce-advanced\tinymce-advanced.php

  • The topic ‘Modify (linked) Image width tinymce advanced’ is closed to new replies.