Posted By

iroybot on 02/17/09


Tagged

html editor cms integration visual wysiwyg richediting rich xstandard


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

iroybot


XStandard and its (nearly) complete list of customization parameters


 / Published in: XHTML
 

URL: http://xstandard.com/

You can use this as a starting point when integrating XStandard in your CMS. There are 3 licensing options for XStandard: free Lite Version, Open Source CMS Partner License & Pro Version. (btw: XStandard produces 100% valid markup against XHTML 1.1 Specification)

  1. <object type="application/x-xstandard" id="editor1" width="100%" height="400">
  2. <!-- alternatively, you can use <object classid="clsid:0EED7206-1661-11D7-84A3-00606744831D" ... for auto installation in IE -->
  3. <param name="CSS" value="" /><!-- uri or css -->
  4. <param name="EditorCSS" value="" /><!-- uri or css -->
  5. <param name="EnableTimestamp" value="false" /><!-- true or false -->
  6. <param name="EnablePasteMarkup" value="true" /><!-- true or false -->
  7. <param name="Dir" value="ltr" /><!-- rtl or ltr -->
  8. <param name="Styles" value="" /><!-- uri or xml. Each style contains instructions for generating markup. -->
  9. <param name="ShowStyles" value="" />
  10. <param name="ShowToolbar" value="" />
  11. <param name="ExpandWidth" value="" />
  12. <param name="ExpandHeight" value="" />
  13. <param name="ExpandToolbarWysiwyg" value="" />
  14. <param name="ExpandToolbarSource" value="" />
  15. <param name="ExpandToolbarPreview" value="" />
  16. <param name="ExpandToolbarScreenReader" value="" />
  17. <param name="ExpandShowStyles" value="" />
  18. <param name="ExpandShowToolbar" value="" />
  19. <param name="CustomInlineElements" value="" />
  20. <param name="CustomBlockElements" value="" />
  21. <param name="CustomEmptyElements" value="" />
  22. <param name="Rel" value="" />
  23. <param name="Rev" value="" />
  24. <param name="Options" value="" />
  25. <!--
  26. Options is a bit mask. the value must be a single value (but can be a sum) of the following:
  27. 1 Display hard returns.
  28. 2 Automatically fix errors when "dirty" code is loaded into the editor.
  29. 4 Disable context menus (pop-up menus when the right mouse button is clicked).
  30. 8 Wrap text in View Source.
  31. 16 Hide line numbers in View Source.
  32. 32 Disable object resizing by dragging (using image "handles" for example).
  33. 64 Treat uploading images as decorative.
  34. 128 Reserved for future use.
  35. 256 Convert extra spaces into hard-spaces.
  36. 512 Hide advanced editing features (Advanced and Custom tabs as well as certain fields in Properties dialog boxes).
  37. 1024 Use SOAP 1.2
  38. 2048 Treat <div> as as structure element. By default, <div> is used as a grouping element.
  39. 4096 Disable Directory button when content is selected.
  40. 8192 Disable "Fix" option when invalid markup is entered into View Source and user switches to WYSIWYG view.
  41. 16384 Automatically remove undefined custom elements. To define custom elements, use CustomInlineElements and CustomBlockElements properties.
  42. 32768 Paste images as alternate text when file upload is unavailable/disabled.
  43. 65536 Strict mode when pasting from applications like Word. Removes attributes like id, align and valign.
  44. 131072 Display the "Class" field on the General tab of the Properties dialog box in the simplified interface (when Options 512 is set). The only exception to this is in the Image properties dialog box when there is a value in ClassImageFloatLeft / ClassImageFloatRight properties.
  45. 262144 Display the "ID" field on the General tab of the Properties dialog box in the simplified interface (when Options 512 is set).
  46. -->
  47. <param name="DocumentID" value="" /><!-- additional HTTP headers accessible via php with $_SERVER["HTTP_X_DOCUMENT_ID"] -->
  48. <param name="UserID" value="" /><!-- additional HTTP headers -->
  49. <param name="SessionID" value="" /><!-- additional HTTP headers -->
  50. <param name="TransactionID" value="" /><!-- additional HTTP headers -->
  51. <param name="ClientID" value="" /><!-- additional HTTP headers -->
  52. <param name="InstanceID" value="" /><!-- additional HTTP headers -->
  53. <param name="TagID" value="" /><!-- additional HTTP headers -->
  54. <param name="ZoneID" value="" /><!-- additional HTTP headers -->
  55. <param name="ProjectID" value="" /><!-- additional HTTP headers -->
  56. <param name="AreaID" value="" /><!-- additional HTTP headers -->
  57. <param name="GroupID" value="" /><!-- additional HTTP headers -->
  58. <param name="ParentID" value="" /><!-- additional HTTP headers -->
  59. <param name="ContainerID" value="" /><!-- additional HTTP headers -->
  60. <param name="ObjectID" value="" /><!-- additional HTTP headers -->
  61. <param name="Cookie" value="" />
  62. <param name="EnableCache" value="" />
  63. <param name="HeartbeatURL" value="" /><!-- keep sessions alive -->
  64. <param name="HeartbeatInterval" value="" /><!-- keep sessions alive -->
  65. <param name="Namespaces" value="" /><!-- add namespaces -->
  66. <param name="Mode" value="" /><!-- wysiwyg or source or preview or screen-reader. -->
  67. <param name="ClassImageFloatLeft" value="" /><!-- eg: left or align_left etc. -->
  68. <param name="ClassImageFloatRight" value="" />
  69. <param name="ScriptNewWindow" value="" />
  70. <param name="CMSCode" value="065126D6-357D-46FC-AF74-A1F5B2D5036E" /><!-- example GUID: Joomla Open Source CMS license key -->
  71. <param name="EscapeUnicode" value="false" /><!-- if set to true, non ascii chars will be escaped -->
  72. <!-- premade serverside scripts (PHP and ASP available) to manage files, images, products, staff, etc. amazing feature! -->
  73. <param name="ImageLibraryURL" value="http://soap.xstandard.com/imagelibrary.aspx"/>
  74. <param name="AttachmentLibraryURL" value="http://soap.xstandard.com/attachmentlibrary.aspx"/>
  75. <param name="SpellCheckerURL" value="http://soap.xstandard.com/spellchecker.aspx" />
  76. <param name="SpellCheckerLangFilter" value="" />
  77. <param name="SpellCheckerLang" value="en-us" />
  78. <param name="DirectoryURL" value="http://soap.xstandard.com/directory.aspx" />
  79. <param name="SubdocumentURL" value="http://soap.xstandard.com/subdocument.aspx" />
  80. <param name="CustomInlineElements" value="" />
  81. <param name="CustomBlockElements" value="include" />
  82. <param name="CustomEmptyElements" value="include" />
  83. <param name="Toolbar" value="" />
  84. <param name="ShowStyles" value="yes" />
  85. <param name="ShowToolbar" value="yes" />
  86. <param name="IndentOutput" value="yes"/>
  87. <param name="Debug" value="no"/>
  88. <param name="BackgroundColor" value="#FFFFFF" />
  89. <param name="BorderColor" value="#CCCCCC" />
  90. <param name="Base" value="http://localhost/" />
  91. <param name="Value" value=""/><!-- xhtml post/page content -->
  92. <param name="Localization" value=""/><!-- uri or xml -->
  93. <param name="PreviewXSLT" value=""/><!-- uri or xsl -->
  94. <param name="ScreenReaderXSLT" value=""/><!-- uri or xsl -->
  95. <param name="Buttons" value=""/><!-- uri or xml -->
  96. <param name="Icons" value=""/><!-- uri or xml -->
  97. <param name="Placeholders" value=""/><!-- placeholders.xml icon for placeholders -->
  98. <param name="ToolbarWysiwyg" value=""/>
  99. <param name="ToolbarSource" value=""/>
  100. <param name="ToolbarPreview" value=""/>
  101. <param name="ToolbarScreenReader" value=""/>
  102. <param name="ToolbarEffect" value="linear-gradient"/>
  103. <param name="Lang" value="en"/><!-- language -->
  104. <param name="LatestVersion" value="2.1.0.0"/><!-- version available online -->
  105. <param name="Version" value="2.1.0.0"/><!-- version currently in use -->
  106. <param name="License" value="http://localhost/license.txt" /><!-- uri of license file. turns lite or cms version into pro -->
  107. <param name="ProxySetting" value=""/> <!-- auto-detect, direct or manual (next 4 vals) -->
  108. <param name="ProxyServer" value=""/>
  109. <param name="ProxyPort" value=""/>
  110. <param name="ProxyUser" value=""/>
  111. <param name="ProxyPassword" value=""/>
  112. <span>If you do not see the editor here, you have not yet installed XStandard to your computer. Before proceeding, please download XStandard from <a href="http://xstandard.com">http://xstandard.com</a></span>
  113. </object>

Report this snippet  

You need to login to post a comment.