The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

WYSIWYG Editor

4 posters

Go down

Solved WYSIWYG Editor

Post by XDirect12345 March 29th 2012, 2:32 am

Is there a way to embed my own custom WYSIWYG Editor? How do I add new icons and JavaScript to the WYSIWYG Editor.
XDirect12345
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 March 29th 2012, 6:31 am

I have access to a external server. I just need to know where to put the code. Any ideas?
XDirect12345
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 March 29th 2012, 12:26 pm

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.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: WYSIWYG Editor

Post by XDirect12345 March 29th 2012, 8:13 pm

thats kinda hard, especially with FM's scripting.
XDirect12345
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 March 29th 2012, 11:31 pm

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.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: WYSIWYG Editor

Post by XDirect12345 March 30th 2012, 1:14 am

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?
XDirect12345
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 March 30th 2012, 1:54 am

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.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: WYSIWYG Editor

Post by XDirect12345 March 30th 2012, 2:28 am

XDirect12345
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 March 30th 2012, 2:45 pm

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

This:
WYSIWYG Editor Captur22

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.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: WYSIWYG Editor

Post by XDirect12345 March 30th 2012, 6:10 pm

How did you do it?
XDirect12345
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 March 30th 2012, 9:03 pm

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.
LGforum
LGforum
Hyperactive

Male Posts : 2265
Reputation : 264
Language : English
Location : UK

Back to top Go down

Solved Re: WYSIWYG Editor

Post by XDirect12345 April 5th 2012, 11:00 pm

cool, it works! Thanks
XDirect12345
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 April 6th 2012, 1:20 am

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.
avatar
runawayhorses
Hyperactive

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

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: WYSIWYG Editor

Post by runawayhorses April 6th 2012, 2:04 am

OK cool! Let us know when you do!! Very Happy
avatar
runawayhorses
Hyperactive

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

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: WYSIWYG Editor

Post by XDirect12345 April 6th 2012, 9:56 pm

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
XDirect12345
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 April 6th 2012, 10:03 pm

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
XDirect12345
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 April 6th 2012, 10:12 pm

well my smileys on the left hand side wont work. Couldnt you just integrate them into the editor?
XDirect12345
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 April 6th 2012, 10:20 pm

okay so u cant satisfy everyone. Tell me how I can host my own script.
XDirect12345
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 April 7th 2012, 3:10 am

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?
avatar
runawayhorses
Hyperactive

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

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: WYSIWYG Editor

Post by runawayhorses April 7th 2012, 3:41 am

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.
avatar
runawayhorses
Hyperactive

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

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: WYSIWYG Editor

Post by runawayhorses April 7th 2012, 3:57 am

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
avatar
runawayhorses
Hyperactive

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

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: WYSIWYG Editor

Post by XDirect12345 April 7th 2012, 9:13 pm

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?
XDirect12345
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 April 7th 2012, 9:13 pm

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?
avatar
runawayhorses
Hyperactive

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

http://runawayhorses.alldiscussion.net/

Back to top Go down

Solved Re: WYSIWYG Editor

Post by XDirect12345 April 7th 2012, 11:15 pm

cool, okay thanks, if anyone else needs help on this topic please respond within 24 hours otherwise just lock it up.
XDirect12345
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 April 8th 2012, 8:11 am

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

Male Posts : 17922
Reputation : 836
Language : English
Location : Somewhere

Back to top Go down

Back to top

- Similar topics

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