In the asset's toolbar, click the Inspect icon to display the asset's Inspect view.ġ9.1.4 Enabling Selected Asset Types for the CKEditor If CKEditor does not appear, check the attribute editor XML code and the selection you made in the Attribute Editor drop-down list you made in step 5 above. It should look as follows:ĭescription of the illustration n_abstractckedit_small.png Navigate to the Abstract field and click in the field. In the list of asset types, navigate to a "Content" asset of your choice ( FSIIAbout in our example), right-click the asset and select Edit from its context menu.Ī tab opens displaying the asset in its Edit view. Then click the magnifying glass button.A Search tab opens displaying the results of your search. In the "Search Type" menu, select Find Content. In the Search field, click the down-arrow icon to open the "Search Type" menu. In the Attribute Editor drop-down list, select CK_FSIIAbstract.įind and open any "Content" asset in its Edit view: Set CKEditor as the attribute editor (input method) for this attribute. WebCenter Sites opens the asset in the Edit form. In the list of search results, navigate to the FSIIAbstract asset and click its Edit (pencil) icon. In the list of asset types, click Find Content Attribute. Paste the following code into the XML field:Įnable the CKEditor instance as the input method for the FSIIAbstract field:įind and open the FSIIAbstract attribute asset in the Edit form: For example, the width and height of the CKEditor in that field if it is different than other CKEditor fields. There is no need to uniquely identify the CKEditor instance for the attribute unless there is a specific requirement for that field. For the purpose of our example, enter CK_FSIIAbstract.Ĭlients can use generic names to create the CKEditor and use it for multiple attributes. In the Name field, enter a name that uniquely identifies this instance of CKEditor. WebCenter Sites displays the New Attribute Editor form. In the list of asset types, click New Attribute Editor. Select the site in which you want to work. Log in to WebCenter Sites as an administrator. ( FSIIAbstract is a flex attribute of the "Content" sample asset type.) In our example, you will enable a new CKEditor instance as the input method (attribute editor) for the FSIIAbstract field. This procedure shows you how to create an instance of CKEditor and enable it for a flex asset attribute based on a FirstSiteII example. 19.1.2 Creating a CKEditor Instance and Enabling It for a Field
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |