Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 4988 | Rev 4990 | Ir a la última revisión | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 4988 Rev 4989
Línea 256... Línea 256...
256
                setValue("description", text)
256
                setValue("description", text)
257
                if (errors.description && getValues('description')) clearErrors("description")
257
                if (errors.description && getValues('description')) clearErrors("description")
258
              }}
258
              }}
259
              config={CKEDITOR_OPTIONS}
259
              config={CKEDITOR_OPTIONS}
260
              name="description"
260
              name="description"
261
              onBeforeLoad={() => {
261
              onBeforeLoad={(CKEDITOR) => {
262
                setIsCKEditorLoading(false)
262
                setIsCKEditorLoading(false)
-
 
263
                CKEDITOR.on('dialogDefinition', function (ev) {
-
 
264
                  console.log(ev.data)
-
 
265
                })
263
              }}
266
              }}
264
              onDialogShow={(event) => console.log(event)}
-
 
265
            />
267
            />
266
            {isCKEditorLoading &&
268
            {isCKEditorLoading &&
267
              <StyledSpinnerContainer>
269
              <StyledSpinnerContainer>
268
                <Spinner />
270
                <Spinner />
269
              </StyledSpinnerContainer>}
271
              </StyledSpinnerContainer>}