<?php if ( ! defined( 'ABSPATH' ) ) exit; ?>
<div class="w-full max-w-2xl max-h bg-white shadow-lg rounded-lg p-6 relative">
    <form id="edit_modal_form">
        <div class="edit_modal_content_block">
            <?php wp_editor('test', 'edit_content_modal', [
                'tinymce' => [
                    'height' => 200,
                ],
                'media_buttons' => false
            ]); ?>
            <input type="hidden" name="edit_modal_id" id="edit_modal_id" value="">
        </div>
    </form>
    <div class="w-full">
        <div class="pt-5">
            <div class="flex justify-start">
                <button type="submit" class="update_edit_modal px-6 py-2 bg-green-500 text-white font-semibold rounded-md hover:bg-green-600 focus:outline-none">Update</button>
                <button type="button" class="close_edit_modal ml-2 px-6 py-2 bg-gray-500 text-white font-semibold rounded-md hover:bg-gray-600 focus:outline-none">Cancel</button>
            </div>
        </div>
    </div>
</div>