Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision aab140df

Von Cem Aydin vor 23 Tagen hinzugefügt

  • ID aab140df185d34c2d884ca304a49d121932674fe
  • Vorgänger af169a38

Design4.0: Überflüssiges wrap=soft Attribut bei textarea_tags entfernt

wrap soft is der Standardwert:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/textarea#wrap

Beim ckeditor hat dieses soweit ich sehen kann keine Auswirkung. Falls
das Attribut doch vorhanden sein müsste dann sollte es IMHO in den
presenter eingebaut werden, anstatt in jede template einzeln.

Unterschiede anzeigen:

templates/design40_webpages/part/_basic_data.html
241 241
      <colgroup> <col class="wi-small-mediumsmall"> </colgroup>
242 242
    <tbody>
243 243
      <tr>
244
        <td> <textarea id="part.formel" name="part.formel" rows="[% IF notes_rows %][% HTML.escape(notes_rows) %][% ELSE %]3[% END %]" cols="10" wrap="soft" class="tooltipster-html wi-small-mediumsmall" title="[% 'The formula needs the following syntax:<br>For regular article:<br>Variablename= Variable Unit;<br>Variablename2= Variable2 Unit2;<br>...<br>###<br>Variable + ( Variable2 / Variable )<br><b>Please be beware of the spaces in the formula</b><br>' | $T8 %]">[% HTML.escape(SELF.part.formel) %]</textarea>
244
        <td> <textarea id="part.formel" name="part.formel" rows="[% IF notes_rows %][% HTML.escape(notes_rows) %][% ELSE %]3[% END %]" cols="10" class="tooltipster-html wi-small-mediumsmall" title="[% 'The formula needs the following syntax:<br>For regular article:<br>Variablename= Variable Unit;<br>Variablename2= Variable2 Unit2;<br>...<br>###<br>Variable + ( Variable2 / Variable )<br><b>Please be beware of the spaces in the formula</b><br>' | $T8 %]">[% HTML.escape(SELF.part.formel) %]</textarea>
245 245
        </td>
246 246
      </tr>
247 247
    </tbody>

Auch abrufbar als: Unified diff