{"version":3,"sources":["webpack:////Users/xingli/Documents/projects/projects/ara-fe/src/views/blocks/wysiwygBlock/js/wysiwygBlock.js"],"names":["WysiwygBlock","element","_classCallCheck","this","$element","$","initResponsiveTables","find","wrap","before","after"],"mappings":"mdAGaA,wBACZ,SAAAA,aAAYC,gHAASC,CAAAC,KAAAH,cACpBG,KAAKF,QAAUA,EACfE,KAAKC,SAAWC,EAAEJ,GAClBE,KAAKG,gHAKLH,KAAKC,SAASG,KAAK,SAASC,KAA5B,wCAAyEC,OAAO,oCAAoCC,MAAM","file":"block-25.317c86355b23b3978b5f.js","sourcesContent":["const NS = 'WysiwygBlock';\nconst CLS = 'wysiwygBlock';\n\nexport class WysiwygBlock {\n\tconstructor(element) {\n\t\tthis.element = element;\n\t\tthis.$element = $(element);\n\t\tthis.initResponsiveTables();\n\t}\n\n\t// Wrap a div.table-responsive class to have responsive tables\n\tinitResponsiveTables() {\n\t\tthis.$element.find('table').wrap(`
`).before('
').after('
');\n\t}\n}\n"],"sourceRoot":""}