Solve the safari ace editor issue