The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

Copy-paste HTML codes

View previous topic View next topic Go down

Solved Copy-paste HTML codes

Post by angel_of_night on July 31st 2012, 11:42 pm

I saw this happening on some forums. Is that possible to this function on forumotion as well?
For example, if i copy a blue sentence, it will appear [color=blue.]sentence[./.color] automatically on my reply box.

Thank you in advance.

angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

Back to top Go down

Solved Re: Copy-paste HTML codes

Post by SLGray on August 1st 2012, 1:08 am

It would if you were copying the information while in the edit mode. When you copy text that is colored, it will not paste the color code unless you are copying the code while in the edit mode.

I believe you mean BBCode not HTML code.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35668
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Copy-paste HTML codes

Post by angel_of_night on August 1st 2012, 1:13 am

No, not the edit more.
I mean on forums and pages with colored sentences that I can't edit.

angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

Back to top Go down

Solved Re: Copy-paste HTML codes

Post by SLGray on August 1st 2012, 1:14 am

It would not.


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35668
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

Solved Re: Copy-paste HTML codes

Post by angel_of_night on August 1st 2012, 1:15 am

Lame.

angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

Back to top Go down

Solved Re: Copy-paste HTML codes

Post by LGforum on August 1st 2012, 2:50 am

This is a big thing, and a very tricky subject, and there's a lot involved in it. You can follow this tutorial: http://www.malware-site.www/t26-ckeditor-on-a-forumotion-forum in order to install CKEditor on your forum. It's a big name Rich Text Editor, which I believe undertakes the task of rich text copy-pasting.

However even CKEditor and other big names struggle with the task, and its still a largely un-perfected feature throughout the web.

Alternatively, you could try writing your own clipboard data to html parser.

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Copy-paste HTML codes

Post by angel_of_night on August 1st 2012, 5:22 pm

@LGforum wrote:This is a big thing, and a very tricky subject, and there's a lot involved in it. You can follow this tutorial: http://www.malware-site.www/t26-ckeditor-on-a-forumotion-forum in order to install CKEditor on your forum. It's a big name Rich Text Editor, which I believe undertakes the task of rich text copy-pasting.

However even CKEditor and other big names struggle with the task, and its still a largely un-perfected feature throughout the web.

Alternatively, you could try writing your own clipboard data to html parser.
How can I do the second option? Smile

angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

Back to top Go down

Solved Re: Copy-paste HTML codes

Post by LGforum on August 2nd 2012, 2:27 am

This? "Alternatively, you could try writing your own clipboard data to html parser."

Learn a good amount of Javascript, a few hacks, possibly flash hacks too in order to access the clipboard data successfully, and parse the copied data into Forumotion-supporting BBcode.

Accessing the clipboard itself is a large task with Javascript, and often requires hacks and workarounds to do.

Then the amount of variation in formatting can vary from all sorts of software and markup out there, so you'd have to identify it and replace as needed.

I hope your beginning to realize why there aren't that many editors out there that include this, and those that do, are far from perfect. Razz

LGforum
Hyperactive

Male Posts : 2254
Reputation : 254
Language : English
Location : UK

http://www.avacweb.com/

Back to top Go down

Solved Re: Copy-paste HTML codes

Post by angel_of_night on August 13th 2012, 6:25 pm

Well, thanks its solved. Very Happy

angel_of_night
Forumember

Female Posts : 565
Reputation : 10
Language : portuguese

Back to top Go down

Solved Re: Copy-paste HTML codes

Post by Sanket on August 13th 2012, 8:50 pm

Topic Solved & Locked

Sanket
ForumGuru

Male Posts : 48766
Reputation : 2819
Language : English
Location : Mumbai

http://webartzforum.com

Back to top Go down

View previous topic View next topic Back to top


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