plugins icon indicating copy to clipboard operation
plugins copied to clipboard

[table-plugin] Set text-align in tableStyleSpecs

Open KestasVenslauskas opened this issue 4 years ago • 3 comments

Oath

I swear that I have completed these tasks before submitting:

  • [+] I have read the README
  • [+] I have checked that the issue has not been reported yet

Enhancement

As title says there is no options to change text alignment in table cell by default it uses 'center'. Example on iOS

KestasVenslauskas avatar Nov 04 '20 13:11 KestasVenslauskas

@KestasVenslauskas That would be a nice addition. In the meantime, you can use cssRules prop and inject any custom CSS!

jsamr avatar Nov 04 '20 14:11 jsamr

this table html code dose not showing because it contain this align="left" border="1" cellspacing="0" style="width:822.75pt" how can i remove or ignored all table style table align="left" border="1" cellspacing="0" style="width:822.75pt"

`

      <tr>
        <th>Entry Header 1</th>
        <th>Entry Header 2</th>
        <th>Entry Header 3</th>
      </tr>
      <tr>
        <td>Entry First Line 1</td>
        <td>Entry First Line 2</td>
        <td>Entry First Line 3</td>
      </tr>
      <tr>
        <td>Entry Second Line 1</td>
        <td>Entry Second Line 2</td>
        <td>Entry Second Line 3</td>
      </tr>
      <tr>
        <td>Entry Third Line 1</td>
        <td>Entry Third Line 2</td>
        <td>Entry Third Line 3</td>
      </tr>
    </table>
    `

ferasabufares avatar Feb 16 '21 10:02 ferasabufares

@ferasabufares Please avoid threadjacking. If you have questions, you can ping us in the official Discord channel. Thank you!

jsamr avatar Feb 16 '21 11:02 jsamr