WYSIWYG Editor

Go down

Solved WYSIWYG Editor

Post by XDirect12345 on 29/3/2012, 02:32

Is there a way to embed my own custom WYSIWYG Editor? How do I add new icons and JavaScript to the WYSIWYG Editor.
avatar
XDirect12345
Forumember

Male Posts : 361
Reputation : 3
Language : English

http://xdirect12345.forummotion.com

Back to top Go down

Solved Re: WYSIWYG Editor

Post by XDirect12345 on 29/3/2012, 06:31

I have access to a external server. I just need to know where to put the code. Any ideas?
avatar
XDirect12345
Forumember

Male Posts : 361
Reputation : 3
Language : English

http://xdirect12345.forummotion.com

Back to top Go down

Solved Re: WYSIWYG Editor

Post by LGforum on 29/3/2012, 12:26

You'd put the code wherever it is required... Javascript in JS management, html in a widget or announcement.

Make sure your aware of the work required to install a new editor. There's more to it than just getting it on the page.
The form must conform to FM's input names and form structure in order to be processed correctly on the server.
avatar
LGforum
Hyperactive

Male Posts : 2263
Reputation : 260
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: WYSIWYG Editor

Post by XDirect12345 on 29/3/2012, 20:13

thats kinda hard, especially with FM's scripting.
avatar
XDirect12345
Forumember

Male Posts : 361
Reputation : 3
Language : English

http://xdirect12345.forummotion.com

Back to top Go down

Solved Re: WYSIWYG Editor

Post by LGforum on 29/3/2012, 23:31

New editors are erfectly possible though. My recent editor on AvacWeb is far better than the regular quick reply and much more advanced.

But before doing things you should look into HTML Forms and how they interact with the server when submitted.
avatar
LGforum
Hyperactive

Male Posts : 2263
Reputation : 260
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: WYSIWYG Editor

Post by XDirect12345 on 30/3/2012, 01:14

@LGforum wrote:New editors are erfectly possible though. My recent editor on AvacWeb is far better than the regular quick reply and much more advanced.

But before doing things you should look into HTML Forms and how they interact with the server when submitted.

Can I see your editors?
avatar
XDirect12345
Forumember

Male Posts : 361
Reputation : 3
Language : English

http://xdirect12345.forummotion.com

Back to top Go down

Solved Re: WYSIWYG Editor

Post by LGforum on 30/3/2012, 01:54

Yes, feel free to, it's installed on Avacweb. There is even a thread for testing the editor. http://www.avacweb.com/t198-thread-for-testing-new-editor

My editor has absolutely no page refresh at all, the post just appears on the page. It also allows for editing posts the same way, absolutely no page refresh or anything, the post just appears edited. Also allows quoting users very easily, and an in built quick preview function. Most of these things aren't possible with the FM quick reply.

My editor could send a reply as a pm or wall message too. I've not included this in y new editor though.
avatar
LGforum
Hyperactive

Male Posts : 2263
Reputation : 260
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: WYSIWYG Editor

Post by XDirect12345 on 30/3/2012, 02:28

avatar
XDirect12345
Forumember

Male Posts : 361
Reputation : 3
Language : English

http://xdirect12345.forummotion.com

Back to top Go down

Solved Re: WYSIWYG Editor

Post by LGforum on 30/3/2012, 14:45

Looks the same? I think you saw the wrong editor? Razz

This:


Since your still registered on my forum, visit again and click the Blue reply button at the bottom of any post.

THAT editor, has the ability to make quick-edits with no page refreshing at all, quick replies with no page refreshing at all, quick preview with no page refreshing, and can be used to quote a user without changing the page.
avatar
LGforum
Hyperactive

Male Posts : 2263
Reputation : 260
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: WYSIWYG Editor

Post by XDirect12345 on 30/3/2012, 18:10

How did you do it?
avatar
XDirect12345
Forumember

Male Posts : 361
Reputation : 3
Language : English

http://xdirect12345.forummotion.com

Back to top Go down

Solved Re: WYSIWYG Editor

Post by LGforum on 30/3/2012, 21:03

Javascript and an understanding of forms and php.
Then its highly based on Ajax methods for the more advanced features.

Study the Quick Reply editor and learn how it works and what its input values mean. Then you can make an editor based on the quick reply.

Swapping out the full editor would be more of a challenge, but still possible.
avatar
LGforum
Hyperactive

Male Posts : 2263
Reputation : 260
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: WYSIWYG Editor

Post by XDirect12345 on 5/4/2012, 23:00

cool, it works! Thanks
avatar
XDirect12345
Forumember

Male Posts : 361
Reputation : 3
Language : English

http://xdirect12345.forummotion.com

Back to top Go down

Solved Re: WYSIWYG Editor

Post by runawayhorses on 6/4/2012, 01:20

That works really good! Great job on creating it my hat goes off to you. I would keep it installed but I couldn't use my preexisting emoticons. I'm sure you know a way around that but I don't so I uninstalled it. But what a great piece of work. Good job.

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 164
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: WYSIWYG Editor

Post by runawayhorses on 6/4/2012, 02:04

OK cool! Let us know when you do!! Very Happy

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 164
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: WYSIWYG Editor

Post by XDirect12345 on 6/4/2012, 21:56

Rideem3 wrote:I recently updated it today and fixed smileys on the full post reply page.

I also removed unnecessary buttons. Wink

Still cant add smilies, is there any way to add them, the ones on the side doesnt work. Also if you can make it so that you can add videos on there that would be fine.

Things that also need to be added:
Unlink
Cut
Copy
Redo
avatar
XDirect12345
Forumember

Male Posts : 361
Reputation : 3
Language : English

http://xdirect12345.forummotion.com

Back to top Go down

Solved Re: WYSIWYG Editor

Post by XDirect12345 on 6/4/2012, 22:03

nope when I click on a smiley, it wont work, I have to manually type it in. Also can you add video to it so we can post videos, also the preview wont be necessary since we already got one.

Things that also need to be added:
Unlink
Cut
Copy
Redo
avatar
XDirect12345
Forumember

Male Posts : 361
Reputation : 3
Language : English

http://xdirect12345.forummotion.com

Back to top Go down

Solved Re: WYSIWYG Editor

Post by XDirect12345 on 6/4/2012, 22:12

well my smileys on the left hand side wont work. Couldnt you just integrate them into the editor?
avatar
XDirect12345
Forumember

Male Posts : 361
Reputation : 3
Language : English

http://xdirect12345.forummotion.com

Back to top Go down

Solved Re: WYSIWYG Editor

Post by XDirect12345 on 6/4/2012, 22:20

okay so u cant satisfy everyone. Tell me how I can host my own script.
avatar
XDirect12345
Forumember

Male Posts : 361
Reputation : 3
Language : English

http://xdirect12345.forummotion.com

Back to top Go down

Solved Re: WYSIWYG Editor

Post by runawayhorses on 7/4/2012, 03:10

So you're saying right now the editor can't add our emoticons we have uploaded to our forums? That seems strange considering what it CAN do. Maybe I'm misinterpreting you. Why would the text editor need an external server if the emoticons are uploaded to our forum?

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 164
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: WYSIWYG Editor

Post by runawayhorses on 7/4/2012, 03:41

Oh I see, you don't have access to make the necessary changes. It would be no sweat off of CKEditor they don't have to host the emoticons.

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 164
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: WYSIWYG Editor

Post by runawayhorses on 7/4/2012, 03:57

Ok cool. You've done alot with it already, if you can get the editor to add the forums emoticons that would be icing on the cake! Very Happy

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 164
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: WYSIWYG Editor

Post by XDirect12345 on 7/4/2012, 21:13

@runawayhorses wrote:Ok cool. You've done alot with it already, if you can get the editor to add the forums emoticons that would be icing on the cake! Very Happy

Yeah, instead of smilies can you add the forums emoticons?
avatar
XDirect12345
Forumember

Male Posts : 361
Reputation : 3
Language : English

http://xdirect12345.forummotion.com

Back to top Go down

Solved Re: WYSIWYG Editor

Post by runawayhorses on 7/4/2012, 21:13

OK great! I have a question, how do you integrate one of the colored themes into the forum. I noticed it has colored themes if you click the example link but I saw no code to copy. Are those colored themes for download only? Also if you can't copy a colored theme code, can you still change the background of the editor where you write your message? Last time a few days ago when I installed it the background was white as snow, and I need a darker background for it as my forum theme is dark.

EDIT:
Another question, what happens if someday you decide not to host the plugins anymore for the editor?

runawayhorses
Hyperactive

Male Posts : 2537
Reputation : 164
Language : English
Location : United States

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: WYSIWYG Editor

Post by XDirect12345 on 7/4/2012, 23:15

cool, okay thanks, if anyone else needs help on this topic please respond within 24 hours otherwise just lock it up.
avatar
XDirect12345
Forumember

Male Posts : 361
Reputation : 3
Language : English

http://xdirect12345.forummotion.com

Back to top Go down

Solved Re: WYSIWYG Editor

Post by Jophy on 8/4/2012, 08:11

This topic is now considered solved and now locked.
avatar
Jophy
ForumGuru

Male Posts : 17924
Reputation : 835
Language : English
Location : Somewhere

Back to top Go down

Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum