<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.ephox.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
<channel>

<title>Ephox LiveWorks!</title>
<link>http://liveworks.ephox.com/</link>
<description>Ephox LiveWorks! Hints and Tips</description><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.ephox.com/EphoxLiveworks" /><feedburner:info uri="ephoxliveworks" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><image><link>http://liveworks.ephox.com/</link><url>http://liveworks.ephox.com/wps/wcm/connect/e3e6d0004a34dc68b2c1b299badd2e9e/ephoxlogo.gif?MOD=AJPERES&amp;CACHEID=e3e6d0004a34dc68b2c1b299badd2e9e</url><title>Ephox LiveWorks!</title></image><item>
<title>
Web Content Management for Government Sites with Ephox and IBM
</title>
<link>http://feeds.ephox.com/~r/EphoxLiveworks/~3/QuMweKKmSeg/government-web-content</link>
<pubDate />
<guid isPermaLink="false">http://liveworks.ephox.com/events/ephoxtv/government-web-content</guid>
<description>&lt;p&gt;Implementing and managing a web content management system is a difficult task – particularly in a government organization where content has to comply with strict regulations. Using real customer examples, we will discuss how government sites are successfully using IBM Lotus Web Content Management and EditLive! to save time, comply with complicated policies, and provide the widest accessibility.&lt;/p&gt;

&lt;p&gt;In addition, the Ephox team will demonstrate a sneak preview of the upcoming EditLive! release – V7 which packs significant new functionality.&lt;/p&gt;

&lt;h3&gt;Agenda&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;Introduction (5 min)&lt;/li&gt;

&lt;li&gt;IBM Government Industry Toolbox for Websphere Portal (10 min)&lt;/li&gt;

&lt;li&gt;How government sites are using EditLive! and IBM Lotus Web Content Management (15 min)&lt;/li&gt;

&lt;li&gt;EditLive! interactive demo highlighting helpful features for government including a sneak peak of EditLive 7.0. (20 min)&lt;/li&gt;

&lt;li&gt;Q&amp;#38;A (10 min)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;About the Speakers&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;Michael Fromin&lt;/strong&gt; is currently the director of products at Ephox Corporation. With over 21 years experience in IT, including 10 years in consulting, Michael has worked extensively with Fortune 100 companies and has vast experience in development, infrastructure and help desk management. Mr. Fromin has authored numerous technical articles focused on advanced development techniques for Lotus Domino, Java, and WebSphere Portal.&lt;/li&gt;

&lt;li&gt;&lt;strong&gt;Krishnan Hariharan&lt;/strong&gt; has more than 12 years of experience in the field of portals and content management. Krishnan currently works at IBM as the Product/Offering Manager for Lotus Web Content Management and WebSphere Portal Content Accelerator. His main responsibilities include in assessing market trends and leading the strategic direction, positioning and go-to-market strategies for Lotus Web Content Management.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;Webinar Recording&lt;/h2&gt;

&lt;div&gt;&lt;iframe src="https://forms.netsuite.com/app/site/crm/externalleadpage.nl?compid=31986&amp;formid=84&amp;h=69db6c9d6086e9dcc22a" width="750" height="650" style="overflow: none;" frameborder="0"&gt;&lt;/iframe&gt;&lt;/div&gt;&lt;img src="http://feeds.feedburner.com/~r/EphoxLiveworks/~4/QuMweKKmSeg" height="1" width="1"/&gt;</description>
<feedburner:origLink>http://liveworks.ephox.com/events/ephoxtv/government-web-content</feedburner:origLink></item>
<item>
<title>
How to Deploy a Plug-in within EditLive!
</title>
<link>http://feeds.ephox.com/~r/EphoxLiveworks/~3/Us3H9TR6bBI/how+to+deploy+a+plug-in</link>
<pubDate>Wed, 1 Sep 2010 18:00:39 +0100</pubDate>
<guid isPermaLink="false">http://liveworks.ephox.com/hints-tips/how+to+deploy+a+plug-in</guid>
<description>&lt;h3&gt;Overview&lt;/h3&gt;

&lt;p&gt;In talking with our customers, one of the most requested capabilities is the ability to extend or customize the behavior of EditLive!. Many of the most advanced of these scenarios requires the creation of a plug-in. In addition to customizing the editor experience, plug-ins also make the work of extending EditLive! simpler because they provide:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Easier management and deployment of extensions/customizations&lt;/li&gt;

&lt;li&gt;More flexibility in deployment – you can choose when to load a plug-in so that users don’t wait for a plug-in to load if they will not use that functionality.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;If you are new to EditLive! and plugins we have many plug-ins available via the Liveworks website (&lt;a href="http://liveworks.ephox.com" &gt;http://liveworks.ephox.com&lt;/a&gt;) that are available for you to use with the Enterprise Edition of EditLive!.&lt;/p&gt;

&lt;p&gt;This article will focus solely on how to best &lt;strong&gt;deploy&lt;/strong&gt; a plug-in within EditLive!. The article assumes you already have a plug-in compiled to a JAR and are ready to deploy it within EditLive!.&lt;/p&gt;

&lt;h3&gt;Deploy a custom Plug-in&lt;/h3&gt;

&lt;p&gt;To deploy a custom plug-in you only need to do two things:&lt;/p&gt;

&lt;ol type=""&gt;
&lt;li&gt;Place the plug-in JAR file in a location that is "web accessible" so EditLive can load it at runtime.&lt;/li&gt;

&lt;li&gt;Add a &amp;#60;plugin&amp;#62; tag to the configuration file. This tells EditLive that you want to load a plug-in. The plug-in tag will also tell EditLive where to get the JAR file and which class to invoke at startup.&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;1. "Deploy" the JAR to a web accessible location&lt;/h3&gt;

&lt;p&gt;There is no requirement on where you must place your plug-in JAR file other than the location must be “web accessible” so EditLive can load the JAR as the editor itself loads.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;We would strongly recommend that you do not place your own plug-ins in our standard plug-in folder&lt;/strong&gt;. We recommend against this, as it is very easy to forget you have placed custom code in that folder. When upgrading EditLive!, we see many customers accidentally overwrite the plug-in folder and accidentally delete their customizations.&lt;/p&gt;

&lt;p&gt;What we recommend instead is to put your plug-ins into their own folder and then reference your folder using the &amp;#60;plugin&amp;#62; and &amp;#60;advancedapis&amp;#62; tags.&lt;/p&gt;

&lt;p&gt;For this article we will use this technique and have written these instructions assuming that you have created a &lt;strong&gt;myplugins&lt;/strong&gt; folder at the root of your web application.&lt;/p&gt;

&lt;p&gt;In your myplugins folder you need to place the compiled JAR file for your plug-in. For example, if you were using our table styling plug-in you would end up with the tablestyles.jar file in the myplugins folder.&lt;/p&gt;

&lt;p&gt;&lt;img src="/wps/wcm/connect/93b3440043ccb21a931c93b1d052c4e4/1/clip_image004.png?MOD=AJPERES&amp;CACHEID=93b3440043ccb21a931c93b1d052c4e4/1" border="0" alt="::Desktop:Screen shot 2010-08-17 at 13.21.32.png" width="417" height="284"  /&gt;&lt;/p&gt;

&lt;h3&gt;2. Add a &amp;#60;plug-in&amp;#62; tag to the configuration file&lt;/h3&gt;

&lt;p&gt;The second stage of utilizing a plug-in is to tell EditLive to load the plug-in as it starts. The key to this is the &amp;#60;plugin&amp;#62; tag and its child tag &amp;#60;advancedapis&amp;#62;. Using the myplugins folder that you created in step 1 we create the tags to load the JAR as follows:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;#60;plugin&amp;#62;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;#60;advancedapis jar="myplugins/tablestyles.jar" class="com.ephox.editlive.tablestyles.TableStylesPlugin" /&amp;#62;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;&amp;#60;/plugin&amp;#62;&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;img src="/wps/wcm/connect/93b3440043ccb21a931c93b1d052c4e4/2/clip_image006.png?MOD=AJPERES&amp;CACHEID=93b3440043ccb21a931c93b1d052c4e4/2" border="0" alt="::Desktop:Screen shot 2010-08-17 at 13.24.10.png" width="417" height="245"  /&gt;&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;This &amp;#60;plugin&amp;#62; directive must be placed within the &amp;#60;plug-ins&amp;#62; tag that should already exist in your configuration file. EditLive loads a variety of its capabilities via our plug-in mechanism so you will likely see several &amp;#60;plugin&amp;#62; tags in your existing configuration file. After you place your plug-in tag at the end of the list your plug-in will load the next time you start EditLive!.&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;h3&gt;Confirming your custom Plug-in loaded&lt;/h3&gt;

&lt;p&gt;Once you have completed the steps detailed above you should restart EditLive! and your plug-in will now be available to you.&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;Should you want to confirm that this has been successful you can double check this in the debug log. Full details of how to create a debug log can be found at: &lt;a href="http://www.ephox.com/support/debug-log.html" &gt;http://www.ephox.com/support/debug-log.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;If the plug-in has loaded successfully you will see this:&lt;/p&gt;

&lt;p&gt;&lt;span style=" font-size: 8px;"&gt;[DEBUG] PluginLoader - -(Thread-104) Plugin loading policy: background&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=" font-size: 8px;"&gt;[DEBUG] ClassLoaderFactory - -(Thread-104) creating Class loader for:file:/Users/Shared/offline/web/res/plugins/tablestyles.jar&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=" font-size: 8px;"&gt;[DEBUG] PluginClassLoader - -(Thread-104) Loading plugin from file:/Users/Shared/offline/web/res/plugins/tablestyles.jar&lt;/span&gt;&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;If however the plug-in has not loaded successfully you will see an error similar to the following:&lt;/p&gt;

&lt;p&gt;&lt;span style=" font-size: 8px;"&gt;[ERROR] InitClassRunnable - -(Thread-163) Failed to load 'com.ephox.editlive.plugins.tablestyles.TableStylesPlugin' from 'tablestyles.jar' using base URL 'file:/Users/Shared/offline/web/res/plugins/tablestyles.xml'. &amp;#60;java.lang.ClassNotFoundException: com.ephox.editlive.plugins.tablestyles.TableStylesPlugin&amp;#62;java.lang.ClassNotFoundException: com.ephox.editlive.plugins.tablestyles.TableStylesPlugin&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=" font-size: 8px;"&gt;at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:211)&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=" font-size: 8px;"&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:307)&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=" font-size: 8px;"&gt;at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:144)&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=" font-size: 8px;"&gt;at java.lang.ClassLoader.loadClass(ClassLoader.java:248)&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=" font-size: 8px;"&gt;at com.ephox.editlive.java2.editor.plugins.PluginClassLoader.loadClass(PluginClassLoader.java:45)&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=" font-size: 8px;"&gt;at com.ephox.editlive.java2.editor.plugins.PluginClassLoader.loadClass(PluginClassLoader.java:45)&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=" font-size: 8px;"&gt;at com.ephox.editlive.java2.editor.plugins.InitClassRunnable.run(InitClassRunnable.java:40)&lt;/span&gt;&lt;/p&gt;

&lt;p&gt;&lt;span style=" font-size: 8px;"&gt;at java.lang.Thread.run(Thread.java:637)&lt;/span&gt;&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt;If you see an error and your plug-in has not loaded successfully the first thing to check is that the jar is in a file that is web accessible and secondly that you have entered the correct name and path for the files in the configuration file. Ephox support are available to assist and you can raise a support case via our website if you would like any further details or assistance.&lt;/p&gt;

&lt;p align="center"&gt; &lt;/p&gt;

&lt;p align="center"&gt;&lt;strong&gt;&lt;em&gt;The Plug-in APIs used by these plug-ins are only available to customers of the EditLive! Enterprise Edition.&lt;/em&gt;&lt;/strong&gt;&lt;em&gt;&lt;br /&gt;
&lt;strong&gt;Ephox Technical Support does not cover LiveWorks! plug-ins.&lt;/strong&gt;&lt;br /&gt;
Please direct any support requests or general enquiries about any LiveWorks! code, integrations or plug-ins to the &lt;a href="http://liveworks.ephox.com/mailing-list" &gt;LiveWorks! mailing list&lt;/a&gt;. This code is released as-is with no support and no warranty and is installed &lt;strong&gt;at your own risk&lt;/strong&gt;. We recommend thorough testing of any LiveWorks! project before deploying to any production system.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt; &lt;/p&gt;

&lt;p&gt; &lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EphoxLiveworks/~4/Us3H9TR6bBI" height="1" width="1"/&gt;</description>
<feedburner:origLink>http://liveworks.ephox.com/hints-tips/how+to+deploy+a+plug-in</feedburner:origLink></item>
<item>
<title>
Benefits of the LWCM EAR Integration
</title>
<link>http://feeds.ephox.com/~r/EphoxLiveworks/~3/1qwFj0HTio4/benefits_of_the_lwcm_ear_integration</link>
<pubDate>Wed, 1 Sep 2010 01:29:13 +0100</pubDate>
<guid isPermaLink="false">http://liveworks.ephox.com/hints-tips/benefits_of_the_lwcm_ear_integration</guid>
<description>&lt;p&gt;With the release of LWCM 6.1, we redesigned our EditLive! integration for LWCM. Unlike the previous integration, our new integration is deployed as a complete Enterprise Application in Portal (commonly referred to as an EAR deployment).&lt;/p&gt;

&lt;p&gt;So what does this mean for you?&lt;/p&gt;

&lt;h2&gt;WCM Upgrade Safe&lt;/h2&gt;

&lt;p&gt;One of the biggest problems with the previous integration was that every time you upgraded or patched LWCM, you had to redeploy the EditLive! integration. This could easily result in lost configuration if the all important backup stage was missed.&lt;/p&gt;

&lt;p&gt;With the new EAR based integration, it removes these problems as it is not affected by LWCM fix-pack installs.&lt;/p&gt;

&lt;h2&gt;Clustering&lt;/h2&gt;

&lt;p&gt;The new EAR deployment approach greatly improves the installation on a clustered environment. Where previously EditLive! needed to be installed in each cluster node you can now use Portal cluster deployment mechanisms to deploy the EAR to all nodes.&lt;/p&gt;

&lt;h2&gt;Startup Performance&lt;/h2&gt;

&lt;p&gt;The most important benefit of the new EAR based integration to your end users however is that it significantly improves the startup time of EditLive!.&lt;/p&gt;

&lt;p&gt;We've utilised best practice web caching techniques along with Java compression to reduce download times and significantly improve startup times of EditLive!. In fact you can expect a reduction of 70% in startups over the previous integration.&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EphoxLiveworks/~4/1qwFj0HTio4" height="1" width="1"/&gt;</description>
<feedburner:origLink>http://liveworks.ephox.com/hints-tips/benefits_of_the_lwcm_ear_integration</feedburner:origLink></item>
<item>
<title>
Inline Editing - Loading Content with setContentForEditableSection
</title>
<link>http://feeds.ephox.com/~r/EphoxLiveworks/~3/v3RqYmrYbMM/set+inline+content</link>
<pubDate>Wed, 18 Aug 2010 19:40:47 +0100</pubDate>
<guid isPermaLink="false">http://liveworks.ephox.com/hints-tips/set+inline+content</guid>
<description>&lt;p&gt;When using the Inline Editing feature, content can be loaded into Editlive! in one of two ways: the default behavior (loading the content from an HTML &amp;#60;div&amp;#62;) or via the setContentForEditableSection declaration. Though the &amp;#60;div&amp;#62; method is the easiest, errors often occur when 'runable content' (lash, JavaScript, etc.) is loaded into the editor in this fashion.&lt;/p&gt;

&lt;h3&gt;HTML with Scripted Elements - Potential Errors&lt;/h3&gt;

&lt;p&gt;Loading content via the &amp;#60;div&amp;#62; method requires you to load elements onto the page before the editing session begins. Given this, your content is first interpreted by the browser before Editlive is activated. This may not be the behavior desired on your editing page - running scripts meant for display. Worse, this could be a source of confusion for your user as the page loads. Note that in some browsers, the browser may re-render these items each time the user switches between Inline Editing windows.&lt;/p&gt;

&lt;p style=" text-align: center;"&gt;&lt;img src="/wps/wcm/connect/1c42790043a2379692ae92b1d052c4e4/inline_1.png?MOD=AJPERES&amp;CACHEID=1c42790043a2379692ae92b1d052c4e4" border="0"  title="" /&gt;&lt;/p&gt;

&lt;p&gt;To guard against this potentially confusing behavior, we suggest that users who expect runable content items to consider the the advanced method.&lt;/p&gt;

&lt;h3&gt;The Advanced Method - setContentForEditableSection&lt;/h3&gt;

&lt;p&gt;To allow for the use of runable elements while preventing them from being rendered by the browser, we suggest using the setContentForEditableSection directive when initially loading content on the page. This directive will insert a content string into the editor at page load using JavaScript, bypassing the need to populate the DIV on the page. As the content is not part of the underlying HTML page, the browser will not attempt to parse/run the content.&lt;/p&gt;

&lt;p&gt;A call to this function might look like:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;editlive_js.setContentForEditableSection('div1', '&amp;#60;p&amp;#62;&amp;#60;b&amp;#62;New Content&amp;#60;/b&amp;#62;&amp;#60;/p&amp;#62;');&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;A full description of using the setContentForEditableSection function can be found &lt;a href="http://liveworks.ephox.com/documentation/editlive/v70/RefHTML/index.html?setcontentforeditablesection_function.htm" &gt;here&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;How Inline Editing Handles Content&lt;/h3&gt;

&lt;p&gt;EditLive Inline Editing stores content within a hidden HTML &amp;#60;textarea&amp;#62; element on the page, while at the same time writing out a sanitized version of the content to the specified &amp;#60;div&amp;#62; element for display. Each time a user switches between editable sections content is written out to both of these locations. When a getDocument or getBody request is received, the editor returns the value within the &amp;#60;textarea&amp;#62;.&lt;/p&gt;

&lt;p style=" text-align: center;"&gt;&lt;img src="/wps/wcm/connect/dea3178043a237b892b892b1d052c4e4/inline_2.png?MOD=AJPERES&amp;CACHEID=dea3178043a237b892b892b1d052c4e4" border="0"  title="" /&gt;&lt;/p&gt;

&lt;h3&gt;About Inline Editing&lt;/h3&gt;

&lt;p&gt;Inline Editing allows EditLive! developers to create multiple editable sections on a page without loading several instances of the editor. A developer can create any number of &amp;#60;div&amp;#62; HTML elements and register those DIV's as editable with Editlive!. A full guide to inline editing can be found in the &lt;a href="http://liveworks.ephox.com/documentation/editlive/v70/DeveloperHTML/index.html?using_inline_editng.htm" &gt;Developer Guide Using inline Editing Tutorial&lt;/a&gt;.&lt;/p&gt;

&lt;h3&gt;Further Reading&lt;/h3&gt;

&lt;p&gt;&lt;a href="http://liveworks.ephox.com/documentation/editlive/v70/DeveloperHTML/index.html?using_inline_editng.htm" &gt;Using Inline Editing&lt;br /&gt;
&lt;/a&gt;&lt;a href="http://liveworks.ephox.com/documentation/editlive/v70/RefHTML/index.html?setcontentforeditablesection_function.htm" &gt;Using the setContentForEditableSection Function&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EphoxLiveworks/~4/v3RqYmrYbMM" height="1" width="1"/&gt;</description>
<feedburner:origLink>http://liveworks.ephox.com/hints-tips/set+inline+content</feedburner:origLink></item>
<item>
<title>
Pasting Into EditLive! - How does filtered HTML make it to the editor from MS Word?
</title>
<link>http://feeds.ephox.com/~r/EphoxLiveworks/~3/o9FoxK7yBY0/pasting+into+editlive%21</link>
<pubDate>Thu, 15 Jul 2010 22:23:55 +0100</pubDate>
<guid isPermaLink="false">http://liveworks.ephox.com/hints-tips/pasting+into+editlive%21</guid>
<description>&lt;p&gt;When we copy-paste from a program like Microsoft Word into EditLive, information is placed first on the clipboard and then is inserted into EditLive. Often, we end up with a great deal more on the clipboard than you might expect. A simple line of text might bring with it hundreds of lines worth of style sheet declarations, metadata, and application-specific data, and we don't want this unnecessary markup making it into our HTML! Thankfully EditLive! offers a clean copy-paste from Microsoft Word right out of the box, ensuring that the code that arrives in the editor is clean and standards compliant.&lt;/p&gt;

&lt;p&gt;Lets explore how this copy-paste operation works, when are filters applied, and how information makes it from the a Word Document to EditLive.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;How does clean copy-paste happen?&lt;/strong&gt;&lt;br /&gt;
The process takes 4 discrete stages, and each is clearly visible within an EditLive &lt;a href="http://www.ephox.com/support/debug-log.html" &gt;debug log&lt;/a&gt;. It is suggested that you create a debug log of your own (capturing the steps of a copy-paste action) and then follow along with this guide.&lt;/p&gt;

&lt;p&gt;The diagram below represents the 4 stages of the process: pasting, filtering, tidying, and insertion.&lt;/p&gt;

&lt;p style=" text-align: center;"&gt;&lt;img src="/wps/wcm/connect/3a2bac00433978f28d909d77b5a41be4/1/paste_diag.png?MOD=AJPERES&amp;CACHEID=3a2bac00433978f28d909d77b5a41be4/1"  /&gt;&lt;/p&gt;

&lt;p style=" text-align: left;"&gt;First, the user copies inform Microsoft Word and then performs a paste action into EditLive. Looking at the debug log, we see that EditLive has received the data, and a simple copy-paste of one line of text has ballooned to be over 100 lines of code!&lt;/p&gt;

&lt;p style=" text-align: left;"&gt;The log displays the unfiltered HTML after the following declaration as EditLive interprets the pasted content.&lt;/p&gt;

&lt;p style=" margin-left: 20.0px; text-align: left;"&gt;&lt;span style=" background-color: #FFF200;"&gt;&lt;code&gt;13:48:40:842 [DEBUG] EphoxTransferHandler - -(AWT-EventQueue-3) Import data.&lt;br style=" margin-left: 20.0px;" /&gt;
&lt;/code&gt;&lt;/span&gt;&lt;code&gt;13:48:40:843 [DEBUG] EphoxTransferHandler - -(AWT-EventQueue-3) Available data flavors:&lt;br style=" margin-left: 20.0px;" /&gt;
[...]&lt;br style=" margin-left: 20.0px;" /&gt;
[MS Word HTML Redacted - It really is that long!]&lt;/code&gt;&lt;/p&gt;

&lt;p style=" text-align: left;"&gt;The unfiltered content appears a second time as it is actually pulled from the clipboard. No filtering has occurred at this point.&lt;/p&gt;

&lt;p style=" margin-left: 20.0px; text-align: left;"&gt;&lt;span style=" background-color: #FFF200;"&gt;&lt;code&gt;13:48:40:890 [DEBUG] EphoxTransferHandler - -(AWT-EventQueue-3) Clipboard data:&lt;br style=" margin-left: 20.0px;" /&gt;
&lt;/code&gt;&lt;/span&gt;&lt;code&gt;&amp;#60;html xmlns:v="urn:schemas-microsoft-com:vml"&lt;br style=" margin-left: 20.0px;" /&gt;
xmlns:o="urn:schemas-microsoft-com:office:office"&lt;br style=" margin-left: 20.0px;" /&gt;
xmlns:w="urn:schemas-microsoft-com:office:word"&lt;br style=" margin-left: 20.0px;" /&gt;
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml"&lt;br style=" margin-left: 20.0px;" /&gt;
xmlns:css="http://macVmlSchemaUri" xmlns="http://www.w3.org/TR/REC-html40"&amp;#62;&lt;br style=" margin-left: 20.0px;" /&gt;
[...]&lt;br style=" margin-left: 20.0px;" /&gt;
&amp;#60;p class=MsoNormal&amp;#62;###Content###&amp;#60;/p&amp;#62;&lt;br style=" margin-left: 20.0px;" /&gt;
[...]&lt;br style=" margin-left: 20.0px;" /&gt;
&amp;#60;/html&amp;#62;&lt;/code&gt;&lt;/p&gt;

&lt;p style=" text-align: left;"&gt;EditLive then reads the content and filters out Word-Specific markup. Some styling may be preserved, depending the setup of your &lt;a href="http://liveworks.ephox.com/documentation/editlive/v70/RefHTML/index.html?wordimport.htm" &gt;configuration file&lt;/a&gt;. The resultant HTML (as seen below) is almost right, but still includes un-necessary items. Once completed, any of your own paste filters will be applied at this stage.&lt;/p&gt;

&lt;p style=" margin-left: 20.0px; text-align: left;"&gt;&lt;span style=" background-color: #FFF200;"&gt;&lt;code&gt;13:48:40:893 [DEBUG] EphoxPasteFilter - -(AWT-EventQueue-3) Clean word&lt;br style=" margin-left: 20.0px;" /&gt;
&lt;/code&gt;&lt;/span&gt;&lt;code&gt;13:48:40:971 [DEBUG] OfficeImportFunction - -(AWT-EventQueue-3) Content before importing MS-Word lists:&lt;br style=" margin-left: 20.0px;" /&gt;
&amp;#60;html&amp;#62;&lt;br style=" margin-left: 20.0px;" /&gt;
[...]&lt;br style=" margin-left: 20.0px;" /&gt;
&amp;#60;p&amp;#62;###Content###&amp;#60;/p&amp;#62;&lt;br style=" margin-left: 20.0px;" /&gt;
[...]&lt;br style=" margin-left: 20.0px;" /&gt;
&amp;#60;/html&amp;#62;&lt;/code&gt;&lt;/p&gt;

&lt;p style=" text-align: left;"&gt;Finally, EditLive reformats the word-markup-free HTML and removes any containing HTML items that won't be needed. The insert operation is then performed and content appears in the editor window.&lt;/p&gt;

&lt;p style=" margin-left: 20.0px; text-align: left;"&gt;&lt;span style=" background-color: #FFF200;"&gt;&lt;code&gt;13:48:40:986 [DEBUG] InsertHtmlOperation - -(AWT-EventQueue-3) Filtered content: &amp;#60;p&amp;#62;###Content###&amp;#60;/p&amp;#62;&lt;/code&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p style=" text-align: left;"&gt;We’ve seen that copy pasting from Microsoft Word is a multi-step process, where information moves first to the clipboard, and then into EditLive where it is filtered before actually arriving in your content. Remember that these precautions are taken to avoid unnecessary markup, ensure standards-compliant HTML, and to give you the chance to modify HTML before it arrives in the editor.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;But what about other application data that we might want, like track changes?&lt;/strong&gt;&lt;br /&gt;
Unfortunately, EditLive is only able to draw from what an application places onto the clipboard. Things like track changes, page sizes, versioning and owner information just don't make it to the clipboard, and as such are not imported to EditLive.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What if items are making it into the editor that we do not want?&lt;/strong&gt;&lt;br /&gt;
If need to restrict items (tags, images, etc.) from making it from the clipboard into the editor, we encourage you to &lt;a href="http://liveworks.ephox.com/hints-tips/filtering-pasted-content" &gt;create your own paste filter&lt;/a&gt; to strip out those elements before they can harm your content.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Further Reading&lt;br /&gt;
&lt;/strong&gt;&lt;a href="http://liveworks.ephox.com/documentation/editlive/v70/RefHTML/index.html?wordimport.htm" &gt;Configure Word Paste Options&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://liveworks.ephox.com/hints-tips/filtering-pasted-content" &gt;Filter Pasted Content&lt;/a&gt;&lt;/p&gt;

&lt;p&gt; &lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/EphoxLiveworks/~4/o9FoxK7yBY0" height="1" width="1"/&gt;</description>
<feedburner:origLink>http://liveworks.ephox.com/hints-tips/pasting+into+editlive%21</feedburner:origLink></item>
</channel></rss>
