Page 1 of 1

toggle editor

Posted: Mon Jun 11, 2007 1:13 am
by microbender
before i start to script:

is there a toggle editor script available ?

sometimes i would like to switch between editors while editing,
regardless witch enabled textarea is active.


here is how i would try it:

get info about all installed editors
step 1: php->check plugin dir for known editors
step 2: mysql>get editor setings

gather info and apply script.
when switching per javascript takes too much resources,
then a simple js will add all form data to the post form
before submit.

as plugin you can set/change settings in the sidebar.
like:

set toggle options as:
dropdown menu
buttons
radiobuttons
icons
float*

*float:
a movable div which somehow campares own postion with
the next accessable textarea.

Re: toggle editor

Posted: Mon Jun 11, 2007 12:28 pm
by garvinhicking
Hi!

No, there's not toggle editor available. You can only install and use one of the WYSIWYG editor plugins.

I don't think a toggling of WYSIWYG editors instantly is possible because they all each require different javascript syntax to spawn editor fields.

It would be nice to have the flexibility though to choose the used WYSYWG component per-user, I agree!

Regards,
Garvin

Posted: Tue Jun 12, 2007 9:53 pm
by microbender
ich hab da eine idee für firefox anwender:

keinen editor in s9y als standard festlegen.
der FFs9y editor ist eine kombination aus nachfolgenden extensions:
---
It's All Text! 0.7.2
von docwhat

Edit textareas using an external editor, because it's all text! Right click on a textarea, select "It's All Text!" and edit the text in the editor of your choice. Alternatively, click on the edit buttons added for your convenience. Right click on the edit buttons for even more options, including preferences.
https://addons.mozilla.org/de/firefox/addon/4125
Resizable Form Fields for Firefox
http://justinsomnia.org/2006/10/resizea ... r-firefox/
BBComposer is a toolbar for Mozilla Firefox that allows you to publish in WYSIWYG the contents of a textarea field, as in a word processing software. This field can contain four types of data:

* The XHTML: A language for the creation of websites.
* BBCode: This language is used in many forums.
* XBBCodes which is a transposition of the XHTML in BBCodes. They allow to create semantic contents.
* The
Wiki syntax (Mediawiki) which is often used on collaborative websites. For the moment, it is only a summary support because no standardization exists.
http://bbcomposer.elitwork.com/home.html

---

wie es technisch funktionieren könnte schwebt mir schon vor dem kopf.

so wärs beim bedienen:

sobald ein artikel editiert werden kann gibt es irgendwo neben dem feld icons für externe editoren.
klick auf tinymce öffnet ein xul fenster welches von der live seite tinymce lädt.
das alles passiert auf der browser ebene, die seite muss also nichts laden.

und so weiter

:idea:

Posted: Wed Jun 13, 2007 12:10 pm
by garvinhicking
Hi!

Well, not everyone is using Firefox :-D

But a nice idea for those users. I'd be interested in the results! :)

Regards,
Garvin

Posted: Sat Jun 30, 2007 2:26 am
by microbender
tinymce:
Tip: toogle button to enable/disable TinyMCE

wird wohl bei den anderen editoren ähnlich sein.
kein editor script darf onload ausgeführt werden.
nur auf button.
wenns funktioniert, dann könnte über jedem textfeld eine kleine
editor toobar erscheinen.

Posted: Wed Jul 04, 2007 10:01 pm
by microbender
ich hab die vage beobachtung, daß

Rights: Publishing entries

zurück gesetzt wird, wenn in den persönlichen einstellungen (ich=admin)
die 'Use WYSIWYG editor' geändert wird.

Posted: Thu Jul 05, 2007 12:27 pm
by garvinhicking
Hi microbender!

Leider ist das bei älteren Versionen der 1.2-beta Snapshots so gewesen, ja. Es wurde vor einiger Zeit gefixt, ich würde Dir daher ein update auf den aktuellen snapshot empfehlen. Sorry für die Umstände.

Grüße,
Garvin