<script>
tinymce.init({
    selector: '#content',
    height: 520,
    menubar: true,
    plugins: [
        'advlist', 'autolink', 'lists', 'link', 'image', 'charmap',
        'anchor', 'searchreplace', 'visualblocks', 'code', 'fullscreen',
        'insertdatetime', 'media', 'table', 'help', 'wordcount'
    ],
    toolbar:
        'undo redo | blocks | bold italic underline strikethrough | ' +
        'alignleft aligncenter alignright alignjustify | ' +
        'bullist numlist outdent indent | ' +
        'link image media table | removeformat | fullscreen code help',
    content_style: `
        body {
            font-family: Inter, -apple-system, sans-serif;
            font-size: 15px;
            line-height: 1.75;
            color: #1f2937;
            padding: 12px 16px;
        }
        h2 { font-size: 1.5rem; font-weight: 700; margin: 1.5rem 0 0.75rem; }
        h3 { font-size: 1.2rem; font-weight: 600; margin: 1.25rem 0 0.5rem; }
        p  { margin: 0 0 1rem; }
        ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
        li { margin-bottom: 0.25rem; }
        table { border-collapse: collapse; width: 100%; }
        td, th { border: 1px solid #e5e7eb; padding: 8px 12px; text-align: left; }
        th { background: #f9fafb; font-weight: 600; }
        blockquote { border-left: 4px solid #e5e7eb; padding-left: 12px; color: #475569; margin: 1rem 0; }
    `,
    branding: false,
    promotion: false,
    setup: function(editor) {
        editor.on('change keyup input setcontent', function() { editor.save(); });
    }
});
</script>
<?php /**PATH C:\xampp\htdocs\gps-migration\resources\views\admin\blog-articles\_tinymce.blade.php ENDPATH**/ ?>