---
title: "Comment by Mohamed A.Helal on \"Oracle APEX 23.1 - TinyMCE\" | Hashnode"
description: "Just a tiny observation / question. plugins+= bit is fine but I could only get the toolbar to work when I referenced the toolbar array by index and append my pl"
url: "https://hashnode.com/posts/oracle-apex-231-tinymce/64412f978c8faa975529718c/comment/645f672d4824b288fcf112d1"
---

[Discussion](https://hashnode.com/posts/oracle-apex-231-tinymce/64412f978c8faa975529718c)

Comment [Oracle APEX 23.1 - TinyMCE](https://hashnode.com/posts/oracle-apex-231-tinymce/64412f978c8faa975529718c)

[Mohamed A.Helal](https://hashnode.com/@maahelal)

[May 13, 2023](https://hashnode.com/posts/oracle-apex-231-tinymce/64412f978c8faa975529718c/comment/645f672d4824b288fcf112d1)

Just a tiny observation / question. plugins+= bit is fine but I could only get the toolbar to work when I referenced the toolbar array by index and append my plugin ... e.g. options.editorOptions.toolbar\[4\].items.push("image"); += syntax replaced the contents of the toolbar with just the new button

[Louis Moreaux](https://hashnode.com/@lmoreaux)

[May 13, 2023](https://hashnode.com/posts/oracle-apex-231-tinymce/64412f978c8faa975529718c/comment/645f672d4824b288fcf112d1#reply-645f80e8d8bff688bc8455a9)

Hi [Mohamed A.Helal](https://hashnode.com/@maahelal), I double checked the code and the documentation and you are right, depending on the type of toolbar it could be an array or a string. I will update the blog post to handle it. Thanks

[Michael Abele](https://hashnode.com/@Michael501)

[Dec 12, 2023](https://hashnode.com/posts/oracle-apex-231-tinymce/64412f978c8faa975529718c/comment/645f672d4824b288fcf112d1#reply-657821f2a7af0fb6a9fd4bc0)

[Louis Moreaux](https://hashnode.com/@lmoreaux)

```
if (Array.isArray(options.editorOptions.toolbar)) {
  options.editorOptions.toolbar[4].items.push("emoticons");
}
else {
  options.editorOptions.toolbar +=" emoticons";
}
```

:-)
