<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to PatchesForTinyMCE</title><link>https://sourceforge.net/p/tinymce-style-library/wiki/PatchesForTinyMCE/</link><description>Recent changes to PatchesForTinyMCE</description><atom:link href="https://sourceforge.net/p/tinymce-style-library/wiki/PatchesForTinyMCE/feed" rel="self"/><language>en</language><lastBuildDate>Thu, 14 May 2015 10:37:17 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/tinymce-style-library/wiki/PatchesForTinyMCE/feed" rel="self" type="application/rss+xml"/><item><title>PatchesForTinyMCE modified by Anonymous</title><link>https://sourceforge.net/p/tinymce-style-library/wiki/PatchesForTinyMCE/</link><description>&lt;div class="markdown_content"&gt;&lt;h1 id="tinymce-patches-for-running-style-library"&gt;TinyMCE patches for running Style Library&lt;/h1&gt;
&lt;p&gt;Here I start collecting information about required patches - work in progress. &lt;/p&gt;
&lt;p&gt;Patch related new settings are: &lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;&lt;em&gt;*user_css&lt;/em&gt;&lt;/strong&gt;*: selects a special CSS file that defines tables, images, fonts, headings and div styles only. This is edited in Style Library and used to fill table, image class lists. &lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;em&gt;*align_class_left&lt;/em&gt;&lt;/strong&gt;*&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;em&gt;*align_class_right&lt;/em&gt;&lt;/strong&gt;*&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;em&gt;*align_class_center&lt;/em&gt;&lt;/strong&gt;*&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;em&gt;*table_altrow_class&lt;/em&gt;&lt;/strong&gt;*&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;TODO: since align_classes can be handled by the new Formatter engine, we could try to reduce patching the mutiple-classes handling (form_utils.js and alignment settings above). &lt;/p&gt;
&lt;h2 id="required-patches"&gt;Required patches&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;utils/validate.js &lt;ul&gt;
&lt;li&gt;Add isBorderWidth(), isFontSize(), isMarginWidth(), isLineHeight() &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;utils/form_utils.js &lt;ul&gt;
&lt;li&gt;New addClassesToList() implemenation for user_css support. &lt;/li&gt;
&lt;li&gt;getClasPart, setClassPart, getAlignDirection &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;classes/DOMUtils.js &lt;ul&gt;
&lt;li&gt;getClasses() supports CSS file selection and filter to HTML tag (e.g. tables) &lt;/li&gt;
&lt;li&gt;TODO: check if getDocumentColors is needed &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;classes/Editor.js &lt;ul&gt;
&lt;li&gt;Visual aid must ignore whether table has border attribute (we use CSS) &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;editable_selects.js &lt;ul&gt;
&lt;li&gt;Call original "onchange" of editable selects &lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;h2 id="optional-but-recommended-patches"&gt;Optional but recommended patches&lt;/h2&gt;
&lt;p&gt;advimage/image.htm and image.js &lt;br /&gt;
show IMG classes only, and link to open style library &lt;/p&gt;
&lt;p&gt;table/table.htm and table.js &lt;br /&gt;
show TABLE classes only and link to style library &lt;/p&gt;
&lt;p&gt;themes/advanced/editor_template_src.js &lt;br /&gt;
importClasses() to support "user_css" setting, so only Style Library font styles are shown &lt;/p&gt;
&lt;h2 id="optional-modified-plugins"&gt;Optional modified plugins&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;layer&lt;/strong&gt;&lt;br /&gt;
add class, alignment, heading support by making an insert/edit dialog box for it. Removes absolute positioning support, thus DIVs can be aligned left or right float or center, and can be styled. &lt;/p&gt;
&lt;h2 id="optional-new-plugins"&gt;Optional new plugins&lt;/h2&gt;
&lt;p&gt;&lt;strong&gt;clearfloat&lt;/strong&gt;&lt;br /&gt;
allows adding removing clear:both to block elements for easy formatting &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;appendafter&lt;/strong&gt;&lt;br /&gt;
adds a paragraph after the current element (sometimes it's impossible to go between two elements or write after the last element) (two tables for example) &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 14 May 2015 10:37:17 -0000</pubDate><guid>https://sourceforge.netc54e5606ed9e4b009af47e793a835a82fb9a27c4</guid></item></channel></rss>