Simple Machines Community Forum

SMF Development => Feature Requests => Applied or Declined Requests => Topic started by: erikdiamond on April 14, 2005, 12:24:01 AM

Title: [Declined] WYSIWYG editor mod?
Post by: erikdiamond on April 14, 2005, 12:24:01 AM
Hello,

If I understand correctly, the SMF staff wont add WYSIWYG editor in their SMF version for security reason?

But is there a WYSIWYG editor mod that works fine with current SMF version?

Erik Diamond
Title: Re: WYSIWYG editor mod?
Post by: [Unknown] on April 14, 2005, 05:21:22 AM
I believe so.  I don't know if it is secure, but I know there was a mod available to do it.

-[Unknown]
Title: Re: WYSIWYG editor mod?
Post by: erikdiamond on April 14, 2005, 08:53:20 AM
Which is?

Erik
Title: Re: WYSIWYG editor mod?
Post by: [Unknown] on April 14, 2005, 08:55:55 AM
I'm afirad I can't find it just now either :-[.

I've actually been messing with some code that might result in a secure wysiwyg editor.  The problem is it works great in Firefox, and it works... but not as well as I'd like in Internet Explorer.  And, of course, not at all in Opera.... and I haven't yet tested with Safari/KHTML.

-[Unknown]
Title: Re: WYSIWYG editor mod?
Post by: Midgard on April 14, 2005, 09:05:11 AM
Nice idea, i can if you want?
Title: Re: WYSIWYG editor mod?
Post by: bloc on April 14, 2005, 10:47:44 AM
Quote from: [Unknown] on April 14, 2005, 08:55:55 AM
I'm afirad I can't find it just now either :-[.

I've actually been messing with some code that might result in a secure wysiwyg editor.  The problem is it works great in Firefox, and it works... but not as well as I'd like in Internet Explorer.  And, of course, not at all in Opera.... and I haven't yet tested with Safari/KHTML.

-[Unknown]

Is it using BBC-codes..? I read somewhere quite a while back about HtmlArea being re-written to output BBC or VB code instead of HTML. Never heard of it since though, and now HtmlArea is no longer available... :P
Title: Re: WYSIWYG editor mod?
Post by: A.M.A on April 14, 2005, 11:45:27 AM
[BETA] WYSIWYG Rich Text Editor for Post and Private Message (http://www.simplemachines.org/community/index.php?topic=22468.0)
Title: Re: WYSIWYG editor mod?
Post by: [Unknown] on April 14, 2005, 11:47:20 AM
Bloc... yes, it is.  Basically, I've worked through what will get outputted by Firefox and IE, and tried to make a function to convert that to bbc.  It doesn't work completely, yet, but one of the barriers I've found is that IE won't let me add a new element (e.g. <tt>) and then position the browser inside the element's bounds.  I can only do it by character...

-[Unknown]
Title: Re: WYSIWYG editor mod?
Post by: bloc on April 14, 2005, 12:06:59 PM
I wished I could help out, but javascript is unknown territory(..) I have looked at some php functions to parse html tags into arrays, and then to bbc , and they mostly worked - but not always as intended. My limited knowledge of course...

It will just convert to supported bbc then?