Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Does anyone know how to get, or where to get, or how to make, or where to find a tutorial, about the w3schools try it editor?
I need an editor like it, so when typing js/html/css the code be accepted and shown like the tryit editor.
If I understand that correctly, you're looking for a Javascript or PHP editor?
For JS I use jsfiddle.net,
and for PHP I use codepad.org.
The "editor" you are referring to is nothing more but:
<form action="<?= $_SERVER["PHP_SELF"] ?>" method="POST">
<input type="submit">
<textarea name="code"><?= htmlentities($_POST["code"]) ?></textarea>
<div id="output">
<?= $_POST["code"] ?>
</div>
And the PHP form sending could even be replaced by:
<button onclick='$("#output").html( $("textarea#code").value )'>
Your question wasn't super clear, but it sounds like you're asking for another tool similar to the W3Schools Tryit Editor.
I use http://jsfiddle.net/, and I love it. It lets you quickly add HTML, JS, and CSS to the editor and get the results. It also lets you save/share your code with others. It's great for mocking up something quick and sending it out to get approved or to get help with syntax.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm looking for a tutorial(s) on how to create a simple text editor. I'm using PHP, MySQL and Jquery on my site?
a simple text editor
<?
if ($_POST) {
file_put_contents("file.txt",$_POST['text']);
header ("Location: ".$_SERVER['PHP_SELF']);
exit;
}
$text = htmlspecialchars(file_get_contents("file.txt"));
?>
<form method="POST">
<textarea name="text"><?=$text?></textarea>
<input type="submit">
</form>
why not just use http://ckeditor.com or any of the many other existing editors. Reinventing the wheel is dumb
I wouldn't call it tutorial, but I think Mozilla's Midasdemo is a good entry.
Specification: http://www.mozilla.org/editor/midas-spec.html
Demo: http://www.mozilla.org/editor/midasdemo/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I want to design a Forum using Php but the problem I am facing is that I dont know how can I put a Post creator in it. As far as I know something like wysiwyg editor is used for it but how can I get it.
By Post creator I mean some thing like here on stackoverflow we are given an editor by which we post our questions. That is the same thing I need.
Thanks
There are several great WYSIWYG editors ; to name only two of the most-used, you could think about :
TinyMCE
CKEditor
In each case, I suggest you read their documentation, to see how they can be integrated into your website ;-)
Generally speaking, getting the data entered by the user will not be harder than reading an element of the $_POST array.
What you're looking for is called an RTE or Rich Text Editor. There are many around.
See here
You can also view the answer from here for something similar to what stackoverflow uses.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
can some of you guys suggest me some free rich text editor for textarea? I like the one that stackoverflow uses.
TinyMCE is what I've used successfully before. It's configurable to show as much or as little of the editor as you want.
I like the one that stackoverflow
uses.
The one used by StackOverflow is:
WMD Editor
Also have a look at this blog post at StackOverflow:
Reverse Engineering the WMD Editor
I think you can choose from these two, the bests I have ever seen:
CKeditor
TinyMCE
Try out Sir Trevor too. It's light, extensible and supports markdown.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
Often, I want to email some code without attaching a file. Are there any gmail/google wave/gdocs plugins for code sharing?
Gmail would obviously be the most useful.
You could use service like pastie or pastebin and then link it in your mail.
Alternatively you can also use ToHTML to generate HTML and then copy/paste it in your mail.
I usually just set the font to something monospaced and hit paste....
There is a Code prettifier gadget for wave that might help.
Check out code.google.com. That might be a good solution for you. Also, Google recently bought EtherPad, so there might hopefully be a good solution soon.
There is this. https://wave.google.com/wave/#restored:wave:googlewave.com!w%252By2RZbMagM
This might be the same one gnarf posted.
You can attach a link and use pastebin
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
i looking javascript editor for php code, include tab support and php code highlight
This does not have WYSIWYG but is strictly a code editing plugin for jQuery which supports a number of different languages. Highly recommended.
MarkItUp
I apologize for posting the wrong link! Forgot the plugin name.
http://wmd-editor.com/ is the editor used by stackoverflow :) Er, you mean an PHP editor, take a look at mozilla bespin: https://bespin.mozilla.com/ And take a closer look at
PHPanywhere.
It is a Real-time syntax code editor!