Need an alternative for NotebookActions.replaceSelection(notebook, object)

Previously I have been using NotebookActions.replaceSelection() for Placing my own content in the cell. It’s not happening now even though no change after JL update.

Need to find a way to work out.