Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR TypeError: Cannot read property 't' of undefined in angular 8 when adding tools like Header #1055

Open
BannyT opened this issue Jun 17, 2020 · 1 comment
Labels

Comments

@BannyT
Copy link

BannyT commented Jun 17, 2020


const editor = new EditorJS(
      {
        holderId:'editor-js',
        tools:{
            header:{
             class :Header,
              inlineToolbar:['link']
            },
            list:{
              class:List,
              inlineToolbar:[
                'link',
                'bold'
              ]
            },
            embed:{
              class:Embed,
              inlineToolbar:false,
              config:{
                services:{
                  youtube:true,
                  coub:true
                }
              },
            },
            
        },
      });
@BannyT BannyT added the Bug label Jun 17, 2020
@seonim-ryu
Copy link
Member

@BannyT Looking at new EditorJS, I think you created the editor by wrapping it. I think the part where the script error occurred also seems to have occurred in the bundled result. It is difficult for me to identify a bug with only this information.

js87zz pushed a commit that referenced this issue Jun 17, 2021
* docs: update readme for 1.0 (fix #1026)

* docs: apply review (fix #1055)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants