Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-13510

Add support for bordered basic tables without affecting rest of XWiki platform

    XMLWordPrintable

Details

    • Unknown

    Description

      Right now, the border-top of all tables is set to @table-border-color (#ddd). We want to fix the tables within user content to be fully bordered ("border-top: solid 1px black"); however, we cannot do this without affecting other tables (due the ubiquity of tables in XWiki).

      It would be nice to have some way to select only the basic tables in the user content without affecting other uses (i.e. the css selector "#xwikicontent .table" won't work because it also affects LiveTables, but "#xwikicontent > .table" won't select nested tables).

      Attachments

        1. bordered.png
          bordered.png
          35 kB
        2. CkEditorTables.png
          CkEditorTables.png
          97 kB
        3. current_edit.png
          current_edit.png
          98 kB
        4. current_view.png
          current_view.png
          32 kB
        5. RepositoryExample.png
          RepositoryExample.png
          127 kB

        Activity

          People

            Unassigned Unassigned
            afkuang Andrew Kuang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: