diff --git a/README.md b/README.md index ede88954f..911f73a2f 100644 --- a/README.md +++ b/README.md @@ -60,11 +60,14 @@ Welcome to OpenSign, the premier open source docusign alternative - document e-s - **Audit Trails & completion certificate:** Being a security focused solution, OpenSign™ makes it a top priority to save detailed logs for tracking document activities along with time-stamps, IP addresses, email IDs & phone numbers. A completion certificate is generated as soon as document is completed which contains all the document related logs for added safety. - **API Support:** OpenSign™ API allows seamless integration into existing systems and software. You can generate an API key from the app and refer the [docs](https://docs.opensignlabs.com) to start integrating it in your existing applications. - **Integrations:** Seamless integrations with various Cloud storage systems, CRMs & enterprise platforms is available. We also have a Zapier integration that allows you to integrate it with virtually any application. - - - - - +Login page +Dash_board +Widgets +Request Signature +Create template +Manage_Template +Folders +OpenSign_Confetti --- diff --git a/apps/OpenSign/src/pages/PlaceHolderSign.js b/apps/OpenSign/src/pages/PlaceHolderSign.js index 8ebb2e0f2..baa43fd9a 100644 --- a/apps/OpenSign/src/pages/PlaceHolderSign.js +++ b/apps/OpenSign/src/pages/PlaceHolderSign.js @@ -678,6 +678,8 @@ function PlaceHolderSign() { //function for set and update x and y postion after drag and drop signature tab const handleStop = (event, dragElement, signerId, key) => { + setFontColor(); + setFontSize(); if (!isResize && isDragging) { const dataNewPlace = addZIndex(signerPos, key, setZIndex); let updateSignPos = [...signerPos]; diff --git a/apps/OpenSign/src/pages/SignyourselfPdf.js b/apps/OpenSign/src/pages/SignyourselfPdf.js index 7023f49e9..89387c37f 100644 --- a/apps/OpenSign/src/pages/SignyourselfPdf.js +++ b/apps/OpenSign/src/pages/SignyourselfPdf.js @@ -71,8 +71,8 @@ function SignYourSelf() { const signRef = useRef(null); const dragRef = useRef(null); const [dragKey, setDragKey] = useState(); - const [fontSize, setFontSize] = useState(11); - const [fontColor, setFontColor] = useState("black"); + const [fontSize, setFontSize] = useState(); + const [fontColor, setFontColor] = useState(); const [signKey, setSignKey] = useState(); const [imgWH, setImgWH] = useState({}); const [pdfNewWidth, setPdfNewWidth] = useState(); @@ -809,6 +809,8 @@ function SignYourSelf() { }; //function for set and update x and y postion after drag and drop signature tab const handleStop = (event, dragElement) => { + setFontSize(); + setFontColor(); if (isDragging && dragElement) { event.preventDefault(); const getPdfPageWidth = pdfOriginalWH.find( @@ -1134,8 +1136,10 @@ function SignYourSelf() { ...position, options: { ...position.options, - fontSize: fontSize || currWidgetsDetails?.options?.fontSize, - fontColor: fontColor || currWidgetsDetails?.options?.fontColor + fontSize: + fontSize || currWidgetsDetails?.options?.fontSize || "12", + fontColor: + fontColor || currWidgetsDetails?.options?.fontColor || "black" } }; } @@ -1153,7 +1157,6 @@ function SignYourSelf() { handleTextSettingModal(false); } }; - return ( diff --git a/apps/OpenSign/src/pages/TemplatePlaceholder.js b/apps/OpenSign/src/pages/TemplatePlaceholder.js index 022462887..a307c5a17 100644 --- a/apps/OpenSign/src/pages/TemplatePlaceholder.js +++ b/apps/OpenSign/src/pages/TemplatePlaceholder.js @@ -554,6 +554,8 @@ const TemplatePlaceholder = () => { //function for set and update x and y postion after drag and drop signature tab const handleStop = (event, dragElement, signerId, key) => { + setFontColor(); + setFontSize(); if (!isResize && isDragging) { const dataNewPlace = addZIndex(signerPos, key, setZIndex); let updateSignPos = [...signerPos];