PHP code example of nnagornyy / gtd.vueeditor

1. Go to this page and download the library: Download nnagornyy/gtd.vueeditor library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

nnagornyy / gtd.vueeditor example snippets


public function getContent(): array
{
    \Bitrix\Main\Loader::Gtd\VueEditor\Block\BlockParser($arr, $_SERVER['DOCUMENT_ROOT'].'/local/vueeditor/');
    $res = $editor->processingBlock();
    return $res;
}