Hi all
Please forgive a really basic question, but I'm a new user.
I have an ASP/SQL Server 2008 CMS already built and I want to give my users the ability to add simple formating to their posts - bold/italic/lists/links. I don't want to give them full formating control (fonts, font sizes, pictures etc) and I particularly don't want them to be able to format stuff in Word and paste it in with all its formating. It would be nice if it kept the allowed formating but removed everytihng else, but that's not absolutely essential - plain text would be ok.
It looks to me as though the Basic toolset of the latest version of CKEditor does what I need, with a little tweaking, but I am having difficulty integrating the editor into the page with its DW insert behaviour.
I have been following the guidance on integration for v4, but nothing specifically on working with a DW page. Is there an idiots guide around for the latest version which helps with this sort of basic task?
What I have done is put this code in the head:
<script>
<script type="text/javascript" src="../ckeditor/ckeditor.js"></script>
</script>
(the page I am using lives in a folder in the root so I have changed the path)
Put this code where I want my editor to appear:
<textarea name="BlogTxt"><p>Initial value.</p></textarea>
(For the insert behaviour to work my text area needs to be called BlogTxt)
And put this code below the text area code:
<script type="text/javascript">
window.onload = function()
{
CKEDITOR.replace( 'BlogTxt' );
};
</script>
However, when I load the page I just get the simple multi-line text box containing <p>Initial value.</p> - no editor toolbars.
I have tried playing around with the path to the .js file, but no joy.
I am probably doing something really simple worng, but can't see what it is. Can anyone help please?
Thanks in advance for any ideas.
