# convertkit/2.5.5/views/backend/tinymce/modal.php

Kit (formerly ConvertKit) – Email Newsletter, Email Marketing, Membership, Subscribers and Landing Pages, version 2.5.5. 24 lines.

- Page: https://pluginprobe.com/plugins/convertkit/2.5.5/code/views/backend/tinymce/modal.php
- Raw: https://pluginprobe.com/plugins/convertkit/2.5.5/raw/views/backend/tinymce/modal.php
- Modified: 2024-02-19T13:27:22+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/convertkit/2.5.5/code/views/backend/tinymce/modal.php#L10-L20`.

```php
<?php
/**
 * TinyMCE Modal view
 *
 * @package ConvertKit
 * @author ConvertKit
 */

?>

<!-- .wp-core-ui ensures styles are applied on frontend editors for e.g. buttons.css -->
<form class="convertkit-tinymce-popup wp-core-ui">
	<input type="hidden" name="shortcode" value="convertkit_<?php echo esc_attr( $shortcode['name'] ); ?>" />
	<input type="hidden" name="editor_type" value="<?php echo esc_attr( $editor_type ); // quicktags|tinymce. ?>" />
	<input type="hidden" name="close_shortcode" value="<?php echo esc_attr( $shortcode['shortcode_include_closing_tag'] ? '1' : '0' ); ?>" />

	<?php
	// Output each Field.
	foreach ( $shortcode['fields'] as $field_name => $field ) {
		include 'modal-field-row.php';
	}
	?>
</form>

```
