Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

dalcorn1

macrumors regular
Original poster
Jul 10, 2008
171
23
Searched the net for this but I'm guessing I've been searching the wrong terms. On my blog which is manually set up (i.e. not wordpress) I have a simple form function to write my post and send it to the blog. I tend to type the html myself dependant on what I want in the article, however does anyone know of a tutorial/explanation of how to add in buttons that will paste code into my input box in much the same way it works on this forum.

Basically so I can make a button that says instert image, I click it and into my input form it puts <img src=""> read for me to just enter the url.
 
Without seeing your blog or knowing what coding is behind the scenes, you might be talking about a WYSIWYG editor. 2 of the more popular ones getting around are Tiny MCE link and the CKEditor link. There are probably plenty more to choose from, but you can basically add these to any website with a little coding.
 
Hmm, they look a bit complicated to initialise for what I want to do. The form that posts to my blog is literally a bog standard form, 1 single line text field for subject, one text area for content that I type HTML into. I basically just want to remove the need to type the html, have some buttons that paste html code into the text area for me.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.