History | Edit

To specify custom CSS properties, follow these steps:

  1. Create a file named CustomProperties.xml that has the following structure:
    <?xml version="1.0" encoding="UTF-8"?>
    <css_keywords
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"   
          xsi:schemaLocation="http://www.oxygenxml.com/ns/css
     http://www.oxygenxml.com/ns/css/CssProperties.xsd"   
          xmlns="http://www.oxygenxml.com/ns/css">
          <property name="custom">
          <summary>Description for custom property.</summary>
            <value name="customValue"/>
            <value name="anotherCustomValue"/>
          </property>
    </css_keywords>
  2. Go to your desktop and create the builtin/css-validator/ folder structure.
  3. Press and hold Shift and right-click anywhere on your desktop. From the contextual menu, select Open Command Window Here.
  4. In the command line, run the jar cvf custom_props.jar builtin/ command.
    The custom_props.jar file is created.
  5. Go to [OXYGEN_INSTALL_DIR]/lib and create the endorsed folder. Copy the custom_props.jar file to [OXYGEN_INSTALL_DIR]/lib/endorsed.