Codox.io
Codox is a real-time collaboration service that provides a turn-key solution to enable real-time co-editing capabilities within your applications.
At the moment, the CODOX.io integration can be tested only at the Froala example page.
License
The license for CODOX.io is not included in license for Rich Text Editor Pro. The license must be purchased directly from third party company.
You can accquire a free testing license directly at CODOX.io website after creating an account.
Implementation guide
Implementing CODOX.io is simple and requires only setting a few plug-in variables using the plug-in attribute Initialization PL/SQL Code.
Variables g_plug_codox_username and g_plug_codox_document_id are used to identify a current user, and a document.
UC_FROALA_RTE.g_plug_codox_enable := true;
UC_FROALA_RTE.g_plug_codox_api := 'CODOX_API_KEY';
UC_FROALA_RTE.g_plug_codox_js := 'https://cdn1.codox.io/lib/2.x/api/wave.client.js';
UC_FROALA_RTE.g_plug_codox_css := 'https://cdn1.codox.io/lib/2.x/css/wave.client.css';
UC_FROALA_RTE.g_plug_codox_username := :APP_USER;
UC_FROALA_RTE.g_plug_codox_document_id := :PX_DOCUMENT_ID;
The PL/SQL variables used to enable and configure Wiris MathType are described in the plug-in package documentation.
The example code below enables CODOX.io only for user's authorized using CODOX authorization scheme defined in an application shared components.
if APEX_AUTHORIZATION.IS_AUTHORIZED('CODOX') then
UC_FROALA_RTE.g_plug_wiris_enable := true;
end if;
Restrict usage for specific user's roles
The example code below enables CODOX.io only for user's authorized using CODOX authorization scheme defined in an application shared components.
if APEX_AUTHORIZATION.IS_AUTHORIZED('CODOX') then
UC_FROALA_RTE.g_plug_wiris_enable := true;
end if;