Browse Source

Ne pas oublier l'édition rtl elle aussi.

Et pour SPIP 3, largeur de l'éditeur minimum
pull/4/head v3.6.6
RealET 1 year ago
parent
commit
93bc49b88f
  1. 15
      editeur/table_rtl.js
  2. 2
      enluminures_typo_pipelines.php
  3. 2
      paquet.xml

15
editeur/table_rtl.js

@ -34,7 +34,20 @@
* La validation des modifications déclenche construit_code_tableau qui construit le code SPIP du tableau
*/
// Check for Browser & Platform for PC & IE specific bits
// More details from: http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html
var clientPC = navigator.userAgent.toLowerCase(); // Get client info
var clientVer = parseInt(navigator.appVersion); // Get browser version
var is_ie = ((clientPC.indexOf("msie") != -1) && (clientPC.indexOf("opera") == -1));
var is_nav = ((clientPC.indexOf('mozilla')!=-1) && (clientPC.indexOf('spoofer')==-1)
&& (clientPC.indexOf('compatible') == -1) && (clientPC.indexOf('opera')==-1)
&& (clientPC.indexOf('webtv')==-1) && (clientPC.indexOf('hotjava')==-1));
var is_moz = 0;
var is_win = ((clientPC.indexOf("win")!=-1) || (clientPC.indexOf("16bit") != -1));
var is_mac = (clientPC.indexOf("mac")!=-1);
/********INITIALISATION**************/
//classe ihm : classe générique de gestion de tableau
function ihm() {

2
enluminures_typo_pipelines.php

@ -199,7 +199,7 @@ function typoenluminee_porte_plume_barre_pre_charger($barres) {
'replaceWith' => "function(markitup) { zone_selection = markitup.textarea; jQuery.modalboxload('".url_absolue(generer_url_public(
'typoenluminee_tableau_edit',
"modalbox=oui"
))."',{minHeight: '90%', iframe: true});}",
))."',{minWidth: '90%', minHeight: '90%', iframe: true});}",
'display' => true,
'selectionType' => 'line',
));

2
paquet.xml

@ -1,7 +1,7 @@
<paquet
prefix="typoenluminee"
categorie="edition"
version="3.6.5"
version="3.6.6"
etat="stable"
compatibilite="[3.0.0;4.0.*]"
logo="prive/themes/spip/images/typoenluminee-32.png"

Loading…
Cancel
Save