forked from spip/porte_plume

7 changed files with 46 additions and 4 deletions
@ -0,0 +1,28 @@
|
||||
<?php |
||||
/** |
||||
* Déclaration de la barre d'outil vide de SPIP |
||||
* |
||||
* @plugin Porte Plume pour SPIP |
||||
* @license GPL |
||||
* @package SPIP\PortePlume\BarreOutils |
||||
*/ |
||||
if (!defined("_ECRIRE_INC_VERSION")) { |
||||
return; |
||||
} |
||||
|
||||
|
||||
/** |
||||
* Définition de la barre 'vide' pour markitup |
||||
* |
||||
* @return Barre_outils La barre d'outil |
||||
*/ |
||||
|
||||
function barre_outils_vide() { |
||||
$set = new Barre_outils(array( |
||||
'nameSpace' => 'vide', |
||||
'markupSet' => array(), |
||||
)); |
||||
$set->cacherTout(); |
||||
return $set; |
||||
} |
||||
|
Loading…
Reference in new issue