(type)
| 236 | }; |
| 237 | |
| 238 | const makeOutDiv = (type) => { |
| 239 | const outDiv = document.createElement("div"); |
| 240 | outDiv.className = `${type}-editor-output`; |
| 241 | outDiv.id = `${getID(type)}-output`; |
| 242 | return outDiv; |
| 243 | }; |
| 244 | |
| 245 | const makeBoxDiv = (handler, type, output) => { |
| 246 | const boxDiv = document.createElement("div"); |