How to hide Guest and Timestamp in Sticky note

Product: Pdftron

Product Version: 8.1.0

Need to hide Guest/TimeStamp from the notes panel in the sticky note tool.
Is it possible to hide Guest/TimeStamp, attaching the screenshot with the requirement marked by an arrow

Hello @sgupt171,

Currently the only way to hide this is to use a custom CSS stylesheet. By targeting the class of this element you can hide it.

Example custom-css.css:

  .date-and-time {
    display: none;

In your WebViewer instantiaton:

  initialDoc: 'yourFile.pdf',
  path: '/lib',
  css: './custom-css.css',
}, ......


Alternatively, you can use the dangerouslySetNoteTransformFunction API to customize how each note is rendered.

Best Regards,
Armando Bollain
Software Developer
PDFTron Systems, Inc.