I am new to TinyMCE and I was wondering if TinyMCE or any RTE had the ability to access the HTML markup. I've looked at methods like getContent() but that to me seems like it only gets the data inside the HTML rather than the full HTML itself.
Related
When I load file.html to TinyMCE, just content in body tag is available. I would like to be able to edit whole html site content with TinyMCE without striping html, head, meta, script tags, or other tags. How is this possible please?
There is a plugin called fullpage that will allow you to do what you want:
https://www.tiny.cloud/docs/plugins/fullpage/
I'm using MarkItup to turn my form textarea into a WYSIWYG editor:
http://markitup.jaysalvat.com/home/
The textarea is configured as follows:
<script type="text/javascript" >
$(document).ready(function() {
$("#markItUp").markItUp(mySettings);
});
</script>
The textarea works well and I can format my input into HTML mark-up. However when I submit my form the POST data is not present for the textarea. If I remove the initialisation above and resubmit the textarea input is in the POST data.
I know this is a Jquery plugin which might rely on serializing the form input, but how can I POST my form without jQuery? I seems a bit short sighted and lazy to not allow this feature.
Anyone know?
The short answer is to use a proper mark up tool, TinyMCE posts the marked-up input enabling it to be processed via a regular server form submit.
I want to create a Salesforce Web to Case from on my Kentico Site.
I have a template built and am inheriting the from that.
I create a new page and then add my form code to the Page Tab > Source and Save.
When I load the page on my site, the form is displayed, but when I hit submit, the form does not do the post action.
How do I accomplish this?
TIA, Jason
Since Kentico is built on web forms, each page's content is wrapped inside a form tag.
Adding your markup (including a form tag) in the middle of a Kentico page results in a nested form, which is invalid.
The quickest way to make this work is probably:
Create a basic HTML document with your markup, and put it on a new page in a "Custom Response" web part. https://www.screencast.com/t/PuwwnFTGGpAJ
Then display that new document in an iframe on your current page.
If that won't work, you can put your form markup in a div hidden by CSS. Then use javascript to move the div to a location after the page's main form tag. You can then use CSS to absolutely position the form on the page.
I hope this is helpful, good luck.
I'm currently working on a website and I have to use Prestashop.
I created a back office interface that allows the user to write, edit and delete articles. So I put a tinyMCE editor in it.
The problem is that when I click on 'save' to store the article in the database, it only stores raw text, without the styling content (html tags, bold text etc)
I would like to know how to get the whole content, including html tags, styling etc.
Thank you.
Ok so all I had to do was to change self::TYPE_STRING to self::TYPE_HTML in my Article.php file.
I added a Web Form Content and linked it with Master Page. I could see in this Content Form that there is only one ContentPlaceHolder ASP tag. Now how to add DIV and other tags in between this?
you can use HTML tags where ever in ASPX files. but its recommanded to use ASP.net tags (or maybe CSS for styling) if it is possible.