Rich Text Editor For Formatting Code Snippets?

Apr 7, 2010

i am planning to create a blog for myself. whenever i want to post a code snippet, then i want that snippet to be neatly formatted just like how the snippets in this dream in code appears.links to free rich text editors that serves this purpose. i prefer editors created by using javascript, jquery, ajax or php(because i want to develop my blog using php)i googled and i found editors like tinymce, fckeditor, YUI editor, free richtext editor.but among all, i found YUI is serving my purpose to some extent. but remaining editors are not providing option for code formatting.(even YUI also doesn't provide directly. but to some extent it preserves that formatting..)and also i am very much interested to know what library dream in code is using for the text editor that we all members see when we post our replies or queries... i tried by going to page source

View 1 Replies


ADVERTISEMENT

Rich Text Editor

Nov 11, 2007

I'm on to make a rich text box for my website . I've put many tools for it as the one I'm typing in now , But there are some important problems that don't let me finish it : Which one is better for editor ? <div> , IFrame or Active X controls ?

View 4 Replies View Related

Useful Rich Text Editor

Apr 21, 2007

I am completely recoding my website and also planning to have a rich text composing feature. This means that I need to construct a rich text editor to make it all happen.

I have tried coding rich text editors and I know how they work, but when it comes down to browser compatibility (to some extent) and user interactivity, I fall behind.

Therefore I need to use a Rich Text Editor that is commercial, but is customizable and can be embedded easily into a website. Also if possible, some security features (outside HTML pasting, text limits, etc...).

View 3 Replies View Related

Track Changes In Rich Text Editor

Jul 5, 2007

Does anyone have any experience with any JS library that provides a
rich text editor? I am particularly interested in the MS-word like
feature of tracking changes. Simple features like strikethrough in
case of delete and underline in case of added text would be
sufficient.

Has anyone extended the FCK Editor/Tiny MCE editor for this purpose?
Any suggestions on how to go about implementing this feature will be
very useful.

View 3 Replies View Related

CSS Styles In A Rich-Text Editor

Aug 11, 2003

I'm making an RTE and have come to the point where I'd like to integrate CSS support - that is, give the editing widgets (and, concurrently, the user of the editor) access to CSS styles, so you aren't just stuck with <strong>, <em>, and inline style attributes.

SO, what I need to know from you, as developers, is the preferred way of getting the styles to the script. I'm going to explain the options in detail here, and just give cursory labels for the pollAdd classNames to be used into a configuration file of the editor. Only classes specified here will be made available for editing.Use a dedicated stylesheet just for the editor, in which all rules need to be used. This would be attached to the IFRAME's document, and could be @import-ed into the regular page so the same stylesheet can be used for editing and rendering.Search all current stylesheets for rules that are a descendant of the editor's ID.Specify styles in the config to be added inline on the HTML.Other (specify)A combination/choice of any of the above.Please give some serious thought to this before responding - I want this to be something that works with the current zeitgeist of web development. Think about what the conditions under which you'd use this, and what would be best/easiest for those conditions.

View 5 Replies View Related

Creating A Rich Text Editor?

Jun 20, 2005

Are there any decent tutorials or resources about how to build a rich text editor? I need to make one for a project at work and I think it'd be a handy add-on to alot of the CMS stuff we do here.

View 3 Replies View Related

Rich Text Editor For IE, FF And Opera!

Mar 12, 2006

A little time ago, I posted a [question] on these forums about matching all non-closed HTML tags with a regexp. I needed it because I am creating a emulated textbox which can also handle HTML tags, a so named WYSIWYG editbox. There are a lot of these already, but non of them work with the Opera browser.

This is what I have got so far. The code will work in Internet Explorer, Mozilla Firefox and Opera. Please be aware that it does nót work completely bugfree and you will also not see a caret so you just have to guess where you are typing.

HTML Code:

View 2 Replies View Related

Finding A Rich Text Editor?

Sep 6, 2010

I'am looking for a rich-text editor (javascript) that I can put in my page.I need one that can :

+ work on IE

+ format text (color, font size etc ...)

+ insert an image from client's computer

+ paste text and images copied from Microsoft Word.

View 6 Replies View Related

JQuery :: Put Rich Text Editor Plugin?

Jul 26, 2009

I need to put a rich text editor in a textarea.

Is there any way to do this with jQuery?

View 2 Replies View Related

Rich Text Editor Not Displaying PHP Variable / Fix It?

Mar 4, 2009

I have a javascript rich text editor code...

If I set $Message = 'hello' then it works and the message is inputed onto the rich text editor and appears. But when I try to retrieve the variable via $Message = $_SESSION['Message'] or from a database $Message = $INFO['Message'] ... the whole text editor disappears! How do I keep the data in the rich text editor from disappearing after a refresh by storing the variable with javascript or something else.

View 14 Replies View Related

Track Changes In Javascript Rich Text Editor?

Jun 5, 2006

I am currently assisting in development of a PHP 4 / MySQL based web application. The application creates large environmental reports based on the information that the users input. Multiple sections of the site allow uses to enter text into a Javascript based Rich Text Editor that will then take whatever they enter and save it into the database. Once the first user enters this information it is sent up a level to a senior reviewer, who then checks the information that the first user entered.

At the end of last week, we had a user call us asking if we could track the changes that any particular user of the system makes, much like Microsoft Word does. I am only a beginning level developer, so I am unsure of how to do something like this and our senior developer is unsure as well.

My only thoughts to the issue would be to make a loop with x amount of users and an array of colors and as each user would make changes to the report, it would automatically loop through each color so that anyone could see who edited what. This seems a little too easy though.

I did a few Google searches but was unable to find anything relevant. Can anyone here help me out or point me in the direction of some way to do this?

View 1 Replies View Related

Rich Text Editor Hidden Fields & IE

Jun 21, 2006

This is a question for anybody familiar with rich text editors. Does anybody know why hidden form fields always appear as visible text fields in IE and not firefox? Just curious if you have experienced this with any RTE you have used or developed.

View 3 Replies View Related

Jquery :: WYSIWYG Rich Text Bbcode Editor

Dec 15, 2010

I have already written the BBCode controller in PHP, and so I just have to make the buttons that will add the bbcode when you click on them.The add image button I'm not sure about yet. I guess I could run a sql query on login of the contents of the database table, and store an array of image urls and thumbnails into a session, then have a 'pop-up' display the list of images you can choose from.Anyway, first thing's first. I need to be able to add the bbcode around text highlighted by the user, exactly like I am able to do with this handy SitePoint WYSIWYG editor I am using right now. So I need to grab the highlighted text with jQuery and then I can append the '[,b]' and '[/b]' round it.

View 3 Replies View Related

String Logic - Add BBCode Into WYSIWYG Rich Text Editor

Dec 17, 2010

I've got this code to add bbcode into a wysiwyg rich text editor. Everything's working fine except when I want to add an image. The first time the script is run everything is ok, but the second time I get two image inserts, third time I get three and so on.

Here's the code:
Code:
$('#uploads tr').click(function(){
var filename = $(this).text();
var insert = '[img="'+filename+'"]';
textarea.value = textarea.value+insert;
$('#images').hide();
textarea.focus();
});

So first time I click on '#uploads tr', I get [img="filename"], then if I type some more stuff and then add another image, I get [img="filename"] 'Some more stuff' [img="filename2"][img="filename2"], then I'll get three image tags, then four and so on. I can see that it's something to do with the line I've highlighted, but I can't see why, or how to change it.

View 2 Replies View Related

JQuery :: Get Actual Content Written By User In This Rich Text Editor?

Mar 11, 2011

I am using this Rich Text Editor in my asp.net page.Every thing is fine , but i want to get the html contents inserted by user using a javaScript function and submit the form asynchronously. But i am unable to get the html content. how to get the html contents.I am herewith attaching that Rich Text Editor file .You please unzip these files and place those in a single folder, i have kept in separate folders since single file size was getting larger that limit.

View 6 Replies View Related

"Track Changes" In Rich-Text Editor

Apr 16, 2007

Does anyone have any experience with any JS library that provides a
rich text editor? I am particularly interested in the MS-word like
feature of tracking changes. Simple features like strikethrough in
case of delete and underline in case of added text would be
sufficient. Has anyone extended the FCK Editor for this purpose?

View 2 Replies View Related

CK Editor Not Sending Rich HTML?

Feb 21, 2011

I am having a bit of a problem sending rich html emails. I just installed CK Editor on my hosting account and it appears to be working fine. But instead large colored fonts, I'm getting html tags only in my email. Links and emails appear to be working fine, though... So instead looking like this: Big Bold Blue. It looks like this: <p><span style='color: rgb(0, 0, 255);'><strong>Big Bold Blue.</strong></span></p> I also tried using mail() function in php, on its own, but that didn't work either.

View 4 Replies View Related

Online Web Based Code (text) Editor?

Jun 15, 2009

Is there any good online web based code (text) editor with syntax highlighting for different languages (C,C++,PHP, etc) and auto-completion .Or, with at least one of that options (better if both)

View 1 Replies View Related

Rotate "two" Snippets Of Code 50/50 - Load Either Snippet 1 Or Snippet 2

Apr 1, 2009

I'm in desperate need of some JS code that will rotate "two" snippets of javascript code 50/50. So basically every time someone visits my site i need it to load either snippet 1 or snippet 2. I tried doing this before with an array but the javascript caused the page to not load because i think both snippets of code where trying to be executed at the same time? Can anyone code me up something that will rotate two snippets of js code without having them both try to load at the same time on the browser.

View 18 Replies View Related

Zip Code Validation/formatting?

Feb 8, 2011

i need US zip code formatting on my page. as zip code can be 5 digits or 5-4 digits, our requirement is that when user types in 6th digit, hyphen automatically gets added between 5th and 6th digit. ex: user enters 100161,it should become formatted as 10016-1 and then user can continue to add rest of digits.

View 2 Replies View Related

Rich Text Help Not Working?

Apr 12, 2011

Ok I have followed the instruction but its still not working. Ive made sure all of the files connect properly. The only thing I can think of that I might be doing wrong is where to attach the script on the text box so here is what I have maybe this is wrong

[Code]...

View 1 Replies View Related

Javascript And Rich Text Editors

Jun 5, 2004

On my site, I offer a free "Make A Site." If the user enters javascript, like a document.write, (it stores the whole page HTML in a database) the next time the user edits the page, it shows the document.write ed text on the page, since it wrote it... and it keeps the javascript. So if they open, save, open, save, etc the page, it will keep on document.writing into the source.

EXAMPLE:
First creating the page, code:

Code:
Hello, welcome <script>document.write('Good Afternoon');</script>
Editing the page for the first time, code:

Code:
Hello, welcome <script>document.write('Good Afternoon');</script>Good Afternoon
Editing the page for the second time, code:

Code:
Hello, welcome <script>document.write('Good Afternoon');</script>Good AfternoonGood Afternoon
ETCETERA...

You see? Well I want it to keep the javascript, it is needed, but I donnot want it to execute it everytime the page is edited...

View 2 Replies View Related

Zip Code Validation / Formatting - Adding Hyphen Automatically

Feb 7, 2011

I need US zip code formatting on my page. As zip code can be 5 digits or 5-4 digits, our requirement is that when user types in 6th digit, hyphen automatically gets added between 5th and 6th digit. Ex: user enters 100161, it should become formatted as 10016-1 and then user can continue to add rest of digits.

View 1 Replies View Related

Make Rich Text Field Uneditable ?

Aug 29, 2011

I have a rich text field in my form. I don't want the content added to be edited my anyone. So how can i make it uneditable. By the way i have designed this form using lotus domino designer.

View 2 Replies View Related

Pre Load Html Code Into WYSIWYG Editor

Oct 23, 2007

I am trying to load the following html code into a WYSIWYG editor. Basically all I need to do is supply the html code to the 'rte1.html' var and it should load in the editor. However, I am receiving the following error: Code:

View 6 Replies View Related

Window.print() Function - Text Data Of Around 6 Page Length In A Text Editor

Oct 26, 2009

I m having a text data of around 6 page length in a text editor...I want to print dat data using window.print. For that i displayed dat data in a html page and used window.print(). Bt my client wants dat some line spaces shud be inserted first in the starting of the page and on the second page also...After that the printing shud be normal... How can i set the page in such a format...?

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved