Browse Source

Essayons un petit & et remettons true sur le control+enter enlevé par erreur

2.1
marcimat@rezo.net 13 years ago
parent
commit
ff66446d5d
  1. 2
      barre_outils/edition.php
  2. 2
      porte_plume_pipelines.php

2
barre_outils/edition.php

@ -16,7 +16,7 @@ function barre_outils_edition(){
#'previewAutoRefresh'=> true,
#'previewParserPath' => url_absolue(generer_url_public('preview')),
'onShiftEnter' => array('keepDefault'=>false, 'replaceWith'=>"\n_ "),
'onCtrlEnter' => array('keepDefault'=>true, 'replaceWith'=>"\n\n"),
'onCtrlEnter' => array('keepDefault'=>false, 'replaceWith'=>"\n\n"),
// garder les listes si on appuie sur entree
'onEnter' => array('keepDefault'=>false, 'selectionType'=>'return', 'replaceWith'=>"\n"),
'onTab' => array('keepDefault'=>false, 'replaceWith'=>"\t"),

2
porte_plume_pipelines.php

@ -38,7 +38,7 @@ function porte_plume_inserer_head($flux, $lang, $prive = false){
$xregexp = find_in_path('javascript/xregexp-min.js');
$markitup = find_in_path('javascript/jquery.markitup_pour_spip.js');
$js_previsu = find_in_path('javascript/jquery.previsu_spip.js');
$js_start = parametre_url(generer_url_public('porte_plume_start.js'), 'lang', $lang);
$js_start = parametre_url(generer_url_public('porte_plume_start.js'), 'lang', $lang, '&');
$flux
.= porte_plume_insert_head_css('', $prive) // compat SPIP 2.0

Loading…
Cancel
Save