tag:help-archives.hannonhill.com,2010-02-09:/discussions/how-do-i/17570-can-i-edit-the-tinymce-configuration-to-allow-block-level-elements-to-be-children-of-inline-elementsCascade CMS: Discussion 2018-10-18T20:37:31Ztag:help-archives.hannonhill.com,2010-02-09:Comment/366602942015-04-23T23:06:09Z2015-04-23T23:06:53ZCan I edit the Tinymce configuration to allow block-level elements to be children of inline elements?<div><p>Short answer is "no, not yet" though we will be looking to
integrate HTML5 support in the next version of the editor that we
release in the near future and to make it more end-user
configurable.</p></div>Bradley Wagnertag:help-archives.hannonhill.com,2010-02-09:Comment/366602942015-04-24T14:37:59Z2015-04-24T14:37:59ZCan I edit the Tinymce configuration to allow block-level elements to be children of inline elements?<div><p>Yes please! :) Any ETA on that?</p></div>thugsbtag:help-archives.hannonhill.com,2010-02-09:Comment/366602942015-04-24T17:35:48Z2015-04-24T17:35:48ZCan I edit the Tinymce configuration to allow block-level elements to be children of inline elements?<div><p>As soon as we can. It will be our next major release but we
don't have a firm timeline at this point. We're targeting a public
beta in the fall.</p>
<p>In the mean time you can request early access to stuff we're
working on and test out things you're trying to do in a pre-release
versions:</p>
<p><a href="http://www.hannonhill.com/downloads/cascade/request-sandbox-access-form.html">
http://www.hannonhill.com/downloads/cascade/request-sandbox-access-...</a></p>
<p>Just put a note that you're interested in Cascade 8 too.</p></div>Bradley Wagnertag:help-archives.hannonhill.com,2010-02-09:Comment/366602942015-07-09T18:56:25Z2015-07-09T18:56:25ZCan I edit the Tinymce configuration to allow block-level elements to be children of inline elements?<div><p>Can you post the TinyMCE settings that Cascade currently uses
please: both the valid_elements and valid_children. Thanks.</p></div>thugsbtag:help-archives.hannonhill.com,2010-02-09:Comment/366602942015-07-15T16:13:04Z2015-07-15T16:13:04ZCan I edit the Tinymce configuration to allow block-level elements to be children of inline elements?<div><p>Sure:</p>
<pre>
<code> valid_elements : "*[*]",
valid_children : "+body[style]",
extended_valid_elements : "*[*]",</code>
</pre>
<p>in the most recent version. I can tell you for a particular
version as well.</p></div>Bradley Wagnertag:help-archives.hannonhill.com,2010-02-09:Comment/366602942015-07-16T16:01:12Z2015-07-16T16:01:12ZCan I edit the Tinymce configuration to allow block-level elements to be children of inline elements?<div><p>What about in Cascade 7.14.1?</p>
<p>In 7.14.1 it doesn't allow
<code><a><h2>text</h2></a></code> and takes
the H2 outside of the A. My understanding is that this is happening
because valid_children is configured to prevent this due to older
HTML spec, is that correct?</p>
<p>In 7.14.1 is the tinymce <code>schema: "html5"</code> or is it
set to something else? If something else, when does it get changed
to html5, or doesn't it yet?</p>
<p>Do you know what the default valid_elements and valid_children
are for the schema that is used? I'm intending on processing the
WYSIWYG content and want to know exactly what can be expected as
"tidied" content coming from TinyMCE. Tx.</p></div>thugsbtag:help-archives.hannonhill.com,2010-02-09:Comment/366602942015-07-16T16:14:21Z2015-07-16T16:14:21ZCan I edit the Tinymce configuration to allow block-level elements to be children of inline elements?<div><p>It's defaulting to <code>schema: "html4"</code> in this version
and yes, I believe you're correct that that is why TinyMCE is
taking the header outside of the hyperlink.</p>
<blockquote>
<p>Do you know what the default valid_elements and valid_children
are for the schema that is used?</p>
</blockquote>
<p>Can you clarify your question? We're declaring the
<code>valid_elements</code>, <code>valid_children</code>,
<code>extended_valid_elements</code> explicitly which effectively
overrides the defaults for the schema.</p>
<p>The header tag is being taken out of the hyperlink, I believe,
is being done independently of the valid_elements settings.</p>
<p>Let me know what else I can answer.</p></div>Bradley Wagnertag:help-archives.hannonhill.com,2010-02-09:Comment/366602942015-07-16T21:14:56Z2015-07-16T21:14:56ZCan I edit the Tinymce configuration to allow block-level elements to be children of inline elements?<div><p>You are declaring the valid_elements, which overrides.</p>
<p>However, the valid_children has +body[style], which means it
gets <em>added</em> to and doesn't override. So the valid_children
will be the HTML4 schema. But the tinymce site just links to the W3
specification. I was hoping I could get the actual setting, so I
knew exactly what it was.</p>
<p>In what version of Cascade will you update to the html5
schema?</p></div>thugsbtag:help-archives.hannonhill.com,2010-02-09:Comment/366602942015-07-16T21:21:37Z2015-07-16T21:21:37ZCan I edit the Tinymce configuration to allow block-level elements to be children of inline elements?<div><p>Unfortunately, I don't have any more details than what TinyMCE's
documentation provides with respect to what's included in
<code>valid_children</code>.</p>
<p>We intend to update it to html5 in Cascade 8.</p></div>Bradley Wagnertag:help-archives.hannonhill.com,2010-02-09:Comment/366602942015-07-16T21:22:41Z2015-07-16T21:22:41ZCan I edit the Tinymce configuration to allow block-level elements to be children of inline elements?<div><p>Do you have an ETA for Cascade8? ;)</p></div>thugsbtag:help-archives.hannonhill.com,2010-02-09:Comment/366602942015-07-16T21:27:23Z2015-07-16T21:27:23ZCan I edit the Tinymce configuration to allow block-level elements to be children of inline elements?<div><p>I don't. We're targeting a beta release in the next few months
and then it will depend on the feedback we get.</p></div>Bradley Wagnertag:help-archives.hannonhill.com,2010-02-09:Comment/366602942015-07-16T21:29:41Z2015-07-16T21:29:41ZCan I edit the Tinymce configuration to allow block-level elements to be children of inline elements?<div><p>Thanks</p></div>thugsb