1

Topic: Custom element insertion <code>,<acronym>,<ex

Hello all,

Can I insert custom element ?

Example I need to have in my html this elements...

<code> - some inline code
<acronym> - inline acronym
<exam> - example text

I it easy way to use this elements in TinyMCE editor ? Please help me if is it possible.

Thank for each answer

Eda

2

Re: Custom element insertion <code>,<acronym>,<ex

Hello all,

Can I insert custom element ?

Example I need to have in my html this elements...

<code> - some inline code
<acronym> - inline acronym
<exam> - example text

I it easy way to use this elements in TinyMCE editor ? Please help me if is it possible.

Thank for each answer

Eda

They all should work without a problem. I checked with 1.40 and they don't get stripped out, make sure you add the following to disable code verification if you have problems:
Add this to your init header
verify_html : "false"

Use the documentation to find out how to exactly add that in.

3

Re: Custom element insertion <code>,<acronym>,<ex

They all should work without a problem. I checked with 1.40 and they don't get stripped out, make sure you add the following to disable code verification if you have problems:
Add this to your init header
verify_html : "false"

Use the documentation to find out how to exactly add that in.

I don't think so, because all what you can insert is predefined formats (h1,h2,h3,h4,h5,h6,paragraph,address,pre) ..

theme_advanced_blockformats : "h3,h4,code"

Problem is than this formats are predefined and if you insert any other elements, it is not working !

Next  possibility is define own STYLE...

theme_advanced_styles : "Header 1=mystyleheader1;Header 2=myheader2;Acronym=myacronym",

This is nice, BUT ! it will insert this code..

<span class="myacronym">any acronym</span>

or

<span class="mystyleheader1">Any header</span>

BUT I need to insert this code..

<code>Any inline code</code>

or

<acronym title="Hypertext Preprocesor">PHP</acronym>

and this a don't know how to do it. In documentation is not found and in code I don't know where to change or insert code.

Can somebody help me please ? I mean concrete process..

4

Re: Custom element insertion <code>,<acronym>,<ex

I made special plugin for insert into editor <ACRONYM> and <CODE> element...

If somebody have interest.. look at

http://www.e-d-a.info/weblog.php?clanek=92

download and install plugin as is writed in readme file

5

Re: Custom element insertion <code>,<acronym>,<ex

do you still have that plugin ?

Cannot find it on your homepage

6

Re: Custom element insertion <code>,<acronym>,<ex

do you still have that plugin ?

Cannot find it on your homepage

For all : My homepage is changed and structure is little bit different. Who want download plugin CELEMS (Custom Element Plugin) look at this page ..
http://www.e-d-a.info/?topic=celems--cu … tml-editor