Hallo liebe Community,
ich habe da ein Anliegen:
Und zwar nutze ich derzeit den JCE Editor aber mein Anliegen betrifft auch den FCK Editor.
Und zwar habe ich Artikel mit Quellcode etc. Mir ist dabei aufgefallen das ein Teil der Quellcodes von den Editoren Manipuliert werden was aber nicht in meinem Sinne ist.
Um das ganze einmal nachzustellen und klarzustellen was ich meine:
JCE Editor 2 / 1 wurden getestet und der Joomla interne FCK Editor.
Joomla 1.5
Um den Code darzustellen nutze ich den CodeHighlighter http://extensions.joomla.org/extensi...e-display/3771
Der Code den ich darstellen möchteist zum beispiel die FSTab von linux:
HTML Version:
Ausgabe Version wie es sein sollte:Code:<pre class="brush:plain"># /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # / was on /dev/sda1 during installation UUID=92bceda2-5ae4-4e3a-8748-b14da48fb297 / ext3 errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 1 # swap was on /dev/sda5 during installation UUID=e24b3e9e-095c-4b49-af27-6363a4b7d094 none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0</pre>
Wie man in diesem Beispiel ganz deutlich sieht gibt es dort Tags wie zum Beispiel:Code:# /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system> <mount point> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # / was on /dev/sda1 during installation UUID=92bceda2-5ae4-4e3a-8748-b14da48fb297 / ext3 errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 1 # swap was on /dev/sda5 during installation UUID=e24b3e9e-095c-4b49-af27-6363a4b7d094 none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0
Mein problem besteht darin das diese Tags von Joomla trotz Pre / Code Tag geparset werden. Dies liegt jedoch nicht in meinem Sinne...Code:<file system> <mount point> <type> <options> <dump> <pass>
Folgendes Passiert also bei der Ausgabe auf der Joomla seite:
Sieh da .. es wird einfach am ende ein bisschen etwas angehangen:Code:# /etc/fstab: static file system information. # # Use 'blkid' to print the universally unique identifier for a # device; this may be used with UUID= as a more robust way to name devices # that works even if disks are added and removed. See fstab(5). # # <file system="system"> <mount point="point"> <type> <options> <dump> <pass> proc /proc proc defaults 0 0 # / was on /dev/sda1 during installation UUID=92bceda2-5ae4-4e3a-8748-b14da48fb297 / ext3 errors=remount-ro,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0 0 1 # swap was on /dev/sda5 during installation UUID=e24b3e9e-095c-4b49-af27-6363a4b7d094 none swap sw 0 0 /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto 0 0 /dev/fd0 /media/floppy0 auto rw,user,noauto 0 0</pass></dump></options></type></mount></file>
Das sollte jedoch nicht Passieren.. dadurch wird der Code unbrauchbar und verfälscht.. Naja jedenfalls es geht darum das ich das HTML Cleanup Deaktivieren möchte da ich ein externes Programm zum Schreiben nutze.Code:</pass></dump></options></type></mount></file>
Ich habe schon geschaut wie und wo ich im Admin Backend das HTML Cleanup von JCE und dem FCK Editor ausschalten kann. An sich funktioniert das auch ... aber diese Tags werden dennoch geclosed... obwohl das HTML Cleanup anscheinend derzeit Deaktiviert ist.
Ich hoffe mir kann man da helfen..


LinkBack URL
About LinkBacks
Zitieren
Lesezeichen